/* Template portfolio Styles */
:root {
            --primary-color: #000000;
            --accent-color: #f87171; /* Soft Coral */
            --bg-main: #fcfcfc;
            --bg-alt: #f3f4f6;
            --text-main: #111827;
            --text-muted: #6b7280;
            --border-color: #e5e7eb;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-main);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.6;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Raleway', sans-serif;
            font-weight: 600;
            color: var(--primary-color);
            letter-spacing: -0.01em;
        }

        /* Navbar Professional Dark Slate */
        .navbar {
            padding: 16px 0;
            background: #0f172a !important;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
            transition: all 0.4s ease;
            z-index: 1050;
            border-bottom: none !important;
        }
        
        .navbar.scrolled {
            padding: 12px 0;
            background: #090d16 !important;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        }
        
        .navbar-brand {
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            font-size: 1.3rem;
            color: #ffffff !important;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .navbar-brand span {
            color: var(--accent-color);
        }
        
        .nav-link {
            font-family: 'Raleway', sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.76rem;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.85) !important;
            padding: 10px 15px !important;
            position: relative;
            opacity: 1;
            transition: all 0.3s;
        }

        .nav-link:hover, .nav-link.active {
            color: #ffffff !important;
            opacity: 1;
        }

        .btn-port {
            background: #ffffff;
            color: #0f172a;
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 2px;
            padding: 16px 36px;
            border-radius: 0;
            border: 2px solid var(--primary-color);
            transition: all 0.4s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-port:hover {
            background: transparent;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        /* Creative Typography */
        .text-outline {
            -webkit-text-stroke: 1px var(--primary-color);
            color: transparent;
        }

        /* Footer Sophisticated */
        footer {
            background: var(--bg-alt);
            padding: 120px 0 60px;
            border-top: 1px solid var(--border-color);
        }

        footer h2 {
            font-size: 4rem;
            margin-bottom: 60px;
            line-height: 0.9;
        }

        footer a {
            color: var(--text-main);
            text-decoration: none;
            transition: all 0.3s;
        }

        footer a:hover {
            color: var(--accent-color);
        }

        /* Masonry Grid Simulation */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        @media (max-width: 991px) {
            .portfolio-grid { grid-template-columns: 1fr; }
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            background: var(--bg-alt);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .portfolio-item:hover img {
            transform: scale(1.05) rotate(1deg);
        }

        .portfolio-info {
            padding: 30px 0;
        }

        /* Mobile Menu Optimization */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                padding: 40px;
                margin-top: 15px;
                box-shadow: 0 40px 100px rgba(0,0,0,0.1);
                border-top: 4px solid var(--primary-color);
                max-height: 85vh;
                overflow-y: auto;
            }
            .navbar-nav .nav-link {
                padding: 15px 0 !important;
                font-size: 1rem;
                opacity: 1;
                border-bottom: 1px solid var(--border-color);
            }
            .navbar-nav .nav-link::after { display: none; }
            .navbar-nav li:last-child .nav-link { border-bottom: none; }
            
            .navbar-brand { font-size: 1.4rem; }
        }
    
        /* Mobile Menu Optimization - Titan Elite Global Patch */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white !important;
                padding: 40px !important;
                margin-top: 15px !important;
                box-shadow: 0 40px 100px rgba(0,0,0,0.2) !important;
                border-top: 4px solid var(--primary-color, var(--pizza-red, var(--acc-navy, var(--gym-green, #000)))) !important;
                max-height: 85vh !important;
                overflow-y: auto !important;
                border-radius: 0 0 20px 20px !important;
            }
            .navbar-nav .nav-link {
                color: #333 !important;
                padding: 15px 0 !important;
                border-bottom: 1px solid rgba(0,0,0,0.05) !important;
                text-align: center !important;
            }
            .navbar-nav li:last-child .nav-link { border-bottom: none !important; }
            .navbar-brand { font-size: 1.4rem !important; }
            .navbar-toggler { border: none !important; padding: 10px !important; }
        }

