<!-- start Simple Custom CSS and JS -->
<style type="text/css">
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Color Variables */
        :root {
            --primary-dark: #545454;
            --secondary-dark: #1a1a2e;
            --accent-blue: #00d4ff;
            --accent-pink: #ff006e;
            --accent-coral: #ff4757;
            --accent-green: #2ed573;
            --text-light: #ffffff;
            --text-gray: #f1f1f1;
            --text-pricing: hsl(59, 67%, 51%);
            --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #ff006e 100%);
            --gradient-secondary: linear-gradient(135deg, #ff4757 0%, #3742fa 100%);
            --gradient-impact: linear-gradient(135deg, #2ed573 0%, #00d4ff 100%);
            --gradient-pricing: linear-gradient(135deg, hsl(59, 67%, 51%) 0%, #00d4ff 100%);
            --gradient-negative: linear-gradient(135deg, hsl(59, 67%, 51%) 0%, #ff4757 100%);
            --glass-bg: rgba(26, 26, 46, 0.69);
            --glass-border: rgba(0, 212, 255, 0.2);
            --nav-height: 80px; /* Added for easier management */
        }

        body {
            font-family: 'Cormorant SC', serif;/*'Georgia', serif;*/
            font-size: 22px;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 1;
            transition: opacity 0.6s ease, visibility 0.6s ease;
            padding: 1rem;
        }

        .loading-screen.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .loading-logo {
            width: 200px;
            max-width: 70%;
            height: auto;
            margin: 0 auto;
            animation: logoFade 1.5s ease-in-out infinite;
        }

        @keyframes logoFade {
            0%, 100% {
                opacity: 0.4;
            }
            50% {
                opacity: 1;
            }
        }

        /* Navigation */
        .nav-container {
            position: fixed;
            top: -100px;
            width: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container.scrolled {
            top: 0;
            background: rgba(255, 255, 255, 0.7);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #D4A574;
            text-decoration: none;
            letter-spacing: 2px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .nav-menu a:hover {
            color: #D4A574;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 0;
            backdrop-filter: blur(15px);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(61, 61, 61, 0.2);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .palm-logo {
            width: 140px;
            height: 140px;
            background: url('/cabana-architecture/images/palmtree CABANA.png') no-repeat center center;
            background-size: contain;
            margin-bottom: 2rem;
        }

        .cabana-logo {
            width: 140px;
            height: 40px;
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/041025_CABANA-Architecture-Menu-Logo.png') no-repeat center center;
            background-size: contain;
        }

        .hero-title {
            font-size: 8rem;
            font-weight: 100;
            letter-spacing: 3px;
            margin-bottom: 0rem;
			font-family:inherit;
            color: white;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 
                         0 4px 40px rgba(0, 0, 0, 0.3);
        }

        .hero-title::after {
            content: '';
            display: block;
            width: 70%;
            height: 2px;
            background: #D4A574;
            margin: 0rem;
            box-shadow: 0 2px 10px rgba(212, 165, 116, 0.5);
        }

        .hero-subtitle {
            font-size: 4rem;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 3rem;
            color: white;
            text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4),
                         0 3px 30px rgba(0, 0, 0, 0.3);
        }

        /* Hero Animations */
        .hero-title {
            opacity: 0;
            transform: translateY(30px);
            animation: heroFadeIn 1.2s ease forwards 0.3s;
            display:grid;
            justify-items: center;
        }

        .hero-subtitle {
            opacity: 0;
            transform: translateY(30px);
            animation: heroFadeIn 1.2s ease forwards 0.6s;
        }

        .hero-cta {
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeIn 1s ease forwards 1.2s;
        }

        @keyframes heroFadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .cta-button {
            background: #D4A574;
            color: white;
            padding: 0.5rem 1.2rem;
            text-decoration: none;
            border-radius: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
            font-size: medium;
            margin-top: 5%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: none;
            cursor: pointer;
            font-family: 'Cormorant SC', serif;
            width: fit-content;
        }

        .cta-button:hover {
            background: #B8935F;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }

        /* Sections */
        .section {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section h2 {
            font-size: 3rem;
            text-align: left;
            margin-bottom: 3rem;
            color: #333;
            font-weight: 300;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .section h2::after {
            content: '';
            display: block;
            width: 100%;
            height: 3px;
            background: #D4A574;
            margin: 0rem;
            z-index: 1;
            position: relative;
        }

        /* Agency Section */
        .agency-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-bottom: 4rem;
        }

        .agency-image {
            border-radius: 0;
            width: 80%;
            height: 80%;
            object-position: center;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        filter 0.6s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            justify-self:end;
        }

        .agency-image:hover {
            transform: scale(1.03) translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
            filter: brightness(1.05);
        }

        .agency-text {
            /*background: rgba(212, 165, 116, 0.1);*/
            padding: 3rem;
            border-radius: 0;
            padding-left: 0;
        }

        .agency-text h3 {
            font-size: 1.5rem;
            color: #D4A574;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .agency-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #555;
        }

        /* About Section */
        .about {
            /*background: linear-gradient(135deg, #C8A882 0%, #D4A574 100%);*/
            color: var(--primary-dark);
            padding: 0;
        }

        .about-text {
            margin-right: 10%;
        }

        .about-text h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-text h3::after {
            content: '';
            display: block;
            width: 100%;
            height: 2px;
            background: #D4A574;
            margin: 0rem;
            margin-bottom: 2%;
            justify-self: left;
        }

        .about-content {
            display: grid;
            grid-template-columns: 50% 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-images {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            height: 100%;
            padding:10%;
            background-color: #af7153;
        }

        .about-image {
            height: 191px;
            background: url('https://architecturecabana.org/wp-content/uploads/2023/08/image.jpeg');
            background-size: cover;
            background-position: center;
            border-radius: 0;
            border-left: 1px solid;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        filter 0.6s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .about-image:hover {
            transform: scale(1.05) translateY(-8px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
            filter: brightness(1.08);
        }

        .about-image.small1 {
            height: 291px;
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/cande2-CABANA.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 0;
        }

        .about-image.small2 {
            height: 291px;
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/cande3-CABANA.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 0;
        }

        .about-image.large {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/cande1-CABANA.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 0;
            grid-row: span 2;
            height: 100%;
        }

        .about-text h3 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 300;
            letter-spacing: 2px;
        }

        .about-text h4 {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            opacity: 0.95;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .project-card {
            background: white;
            border-radius: 0;
            overflow: hidden;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #eee;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .project-image {
            height: 250px;
            background: url('/cabana-architecture/images/background cabana.jpg');
            background-size: cover;
            background-position: center;
            filter:grayscale(1);
        }

        .project-image:hover {
            filter:none;
        }

        .project-image.x1 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/3D-Albane-Moorea.jpg');
            background-size: cover;
			background-position:center;
        }

        .project-image.x2 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/Tiza-enhanced-enhanced-enhanced.png');
            background-size: cover;
            background-position: center;
        }

        .project-image.x3 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/enhanced_aab7bae3-5fa2-4fa4-8218-7ecf3b56eb24.png');
            background-size: cover;
            background-position: center;
        }

        .project-image.x4 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/enhanced_1e.png');
            background-size: cover;
        }

        .project-image.x5 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/enhanced_27b338b0-a433-4436-a1b6-93087c1d221d.png');
            background-size: cover;
            background-position: center;
        }

        .project-image.x6 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/Perspectivas20Finales2-enhanced-enhanced.png');
            background-size: cover;
        }

        .project-image.x7 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/maison_en_bois_toiture_en_tle_verte_integr_au_climat_tropical__moorea_beaucoup_de_vegetation_9vc8mv4mb3fg6cs9yurl_5.png');
            background-size: cover;
        }

        .project-image.x8 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/image-13-e1759641310159.png');
            background-size: cover;
        }

        .project-image.x9 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/IMG_3628.jpg');
            background-size: cover;
        }

        .project-image.x10 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/enhanced_a3794aa3-c63b-4774-99ef-5781295d0be22.png');
            background-size: cover;
        }

        .project-image.x11 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/293763037_1959424710908582_1512830163563795475_n.jpg');
            background-size: cover;
        }

        .project-image.x12 {
            background: url('https://architecturecabana.org/wp-content/uploads/2025/10/FINAL201-enhanced-enhanced-enhanced.png');
            background-size: cover;
        }

        .project-info {
            padding: 2rem;
            /*border: 3px solid #D4A574;*/
            border-top: none;
        }

        .project-info h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--primary-dark);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .project-info p {
            color: #666;
            line-height: 1.6;
        }

        /* Missions Section */

        /*
        .missions {
           background: #f9f9f9;
        }
        */

        .missions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .mission-card {
            background: white;
            padding: 2rem;
            text-align: center;
            border-bottom: 2px solid transparent;
            overflow: hidden;
            border: 1px solid #eee;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mission-card:nth-child(1) {
            border-bottom-color: #D4A574;
        }

        .mission-card:nth-child(2) {
            border-bottom-color: #C8A882;
        }

        .mission-card:nth-child(3) {
            border-bottom-color: #8B6F47;
        }

        .mission-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .mission-number {
            font-size: 3rem;
            font-weight: bold;
            color: #D4A574;
            margin-bottom: 1rem;
        }

        .mission-card h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .mission-card p {
            color: #666;
            line-height: 1.6;
        }

        /* News Section */
        .news {
            background: linear-gradient(rgba(0, 0, 0, 0.581), rgba(7, 6, 1, 0.37)), url('https://architecturecabana.org/wp-content/uploads/2025/10/background2-colors-CABANA-1.jpg');
            background-size: cover;
            background-position: left;
            background-attachment: fixed;
            color: white;
            filter: saturate(1.7);
            width: 100%;
            padding: 5rem 0;
        }

        .news-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .news-card {
            padding: 2rem;
            border-radius: 0;
            border-left: 2px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        background 0.5s ease,
                        border-left-color 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
            border-left-color: #D4A574;
        }

        .news-card h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
			color:white;
        }

        .news-card p {
            line-height: 1.6;
            opacity: 0.9;
        }

        .read-more-link {
            display: inline-block;
            margin-top: 1rem;
            color: #D4A574;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        /* Contact Section */
        .contact-notice {
            max-width: 600px;
            margin: 3rem auto 0;
            background: rgba(212, 165, 116, 0.05);
            padding: 3rem;
            border-radius: 0;
            text-align: center;
        }

        .contact-notice p {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 1rem;
        }

        .contact-notice p:last-of-type {
            margin-bottom: 2rem;
            font-weight: 500;
            color: #333;
        }

        /*
        .contact-form {
            max-width: 600px;
            margin: 3rem auto 0;
            background: rgba(212, 165, 116, 0.05);
            padding: 3rem;
            border-radius: 0;
        }*/

        .form-group {
            margin-bottom: 2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #eee;
            border-radius: 0;
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #D4A574;
        }

        .form-group textarea {
            resize: vertical;
            height: 120px;
        }

        .submit-btn {
            background: #D4A574;
            color: white;
            padding: 1rem 3rem;
            border: none;
            border-radius: 0;
            cursor: pointer;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-btn:hover {
            background: #B8935F;
            transform: translateY(-2px);
        }

        /* Footer */
        footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 3rem 2rem;
        }

        footer p {
            opacity: 0.8;
            margin-bottom: 0rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
        }

        .footer-links a {
            color: #D4A574;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

		/*
        .vai-credit {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }

        .vai-credit:hover {
            opacity: 0.8;
        }

        .vai-credit a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-decoration: none;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            transition: color 0.3s ease;
        }

        .vai-credit a:hover {
            color: white;
        }

        .vai-logo {
            height: 18px;
            width: auto;
            opacity: 0.8;
        }*/

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
            }

            nav {
                padding: 0 1rem;
                width: 100%;
            }

            .hamburger {
                display: flex;
                z-index: 1001;
                flex-shrink: 0;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background: white;
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
                padding: 2rem 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .hero {
                padding: 0 1rem;
            }

            .hero-content {
                width: 100%;
                padding: 0 1rem;
            }

            .hero-title {
                font-size: 3.5rem;
                width: 100%;
                text-align: center;
                word-wrap: break-word;
                overflow-wrap: break-word;
            }

            .hero-title::after {
                width: 50%;
                margin-left: auto;
                margin-right: auto;
            }

            .hero-subtitle {
                font-size: 1.8rem;
                text-align: center;
            }

            .cabana-logo {
                width: 100px;
                height: 30px;
                flex-shrink: 0;
            }

            .cta-button {
                font-size: 0.85rem;
                padding: 0.6rem 1.5rem;
            }

            .section {
                padding: 3rem 1.5rem;
            }

            .section h2 {
                font-size: 2rem;
            }

            .section h2::after {
                width: 100%;
            }

            .agency-content,
            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .agency-image {
                display:none;
            }

            .agency-text {
                padding: 1.5rem;
            }

            .agency-text p {
                font-size: 1rem;
            }

            .about-content {
                text-align: left;
                grid-template-columns: 1fr;
            }

            .about-text {
                margin-right: 0;
                order: 2;
            }

            .about-images {
                order: 1;
                padding: 5%;
            }

            .about-text p {
                font-size: 1rem;
            }

            .missions-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .mission-card {
                padding: 1.5rem;
            }

            .mission-card h4 {
                font-size: 1.2rem;
            }

            .mission-card p {
                font-size: 0.95rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .news-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .news-card {
                padding: 1.5rem;
            }

            .news-card h4 {
                font-size: 1.1rem;
            }

            .news-card p {
                font-size: 0.95rem;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }

            body {
                font-size: 18px;
            }
        }

        /* Tablet adjustments */
        @media (min-width: 769px) and (max-width: 1024px) {
            .hero-title {
                font-size: 5rem;
            }

            .hero-subtitle {
                font-size: 2.5rem;
            }

            .section {
                padding: 4rem 2rem;
            }

            .agency-content {
                gap: 3rem;
            }

            .missions-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Project Modal */
        .project-modal {
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0);
            backdrop-filter: blur(0px);
            opacity: 0;
            visibility: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .project-modal.active {
            opacity: 1;
            visibility: visible;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
        }

        .modal-content {
            position: relative;
            background: white;
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            overflow: hidden;
            transform: translateY(30px) scale(0.95);
            opacity: 0;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .project-modal.active .modal-content {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: 300;
            cursor: pointer;
            z-index: 10001;
            transition: color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            line-height: 1;
            background: none;
            border: none;
            padding: 0;
        }

        /* Fixed close button for scrollable modals on mobile */
        @media (max-width: 768px) {
            .about-modal-content .modal-close {
                position: fixed;
                top: 20px;
                right: 20px;
            }

            .modal-content .modal-close {
                position: fixed;
            }
        }

        .modal-close:hover {
            color: #D4A574;
            transform: rotate(90deg) scale(1.1);
        }

        .modal-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            min-height: 400px;
        }

        .modal-details {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: white;
        }

        .modal-title {
            font-size: 1.8rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.3;
        }

        .modal-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background: #D4A574;
            margin-top: 1rem;
        }

        .modal-description {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.8;
        }

        /* About Modal Specific Styles */
        .about-modal-content {
            max-width: 1000px;
            max-height: 85vh;
            overflow-y: auto;
        }

        .modal-about-images {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            height: 100%;
            padding: 10%;
            background-color: #af7153;
        }

        .about-modal-content .modal-details h3 {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-modal-content .modal-details h3::after {
            content: '';
            display: block;
            width: 100%;
            height: 2px;
            background: #D4A574;
            margin-top: 0.5rem;
            margin-bottom: 1rem;
        }

        .about-modal-content .modal-details h4 {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary-dark);
        }

        .about-modal-content .modal-details p {
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 1rem;
            color: #555;
        }

        .about-modal-content .modal-details .cta-button {
            margin-top: 1.5rem;
            display: inline-block;
        }

        /* Mobile responsive for modal */
        @media (max-width: 768px) {
            .modal-content {
                grid-template-columns: 1fr;
                max-height: 85vh;
                overflow-y: auto;
            }

            .modal-image {
                min-height: 250px;
                max-height: 300px;
            }

            .modal-details {
                padding: 2rem;
            }

            .modal-title {
                font-size: 1.3rem;
            }

            .modal-description {
                font-size: 1rem;
            }


            .about-modal-content {
                grid-template-columns: 1fr;
            }

            .modal-about-images {
                padding: 5%;
                order: 1;
            }

            .about-modal-content .modal-details {
                order: 2;
                padding: 2rem;
            }

            .about-modal-content .modal-details h3 {
                font-size: 1.5rem;
            }

            .about-modal-content .modal-details h4 {
                font-size: 1rem;
            }

            .about-modal-content .modal-details p {
                font-size: 0.95rem;
            }
        }</style>
<!-- end Simple Custom CSS and JS -->
