* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-bg: #5a5f4a;
            --accent-gold: #FDF2A1;
            --dark-green: #1D290A;
            --light-text: #d4c4a6;
            --nav-bg: #6b7055;
            /* New variable for a slightly darker background, although sticking to --dark-green is fine too */
            --footer-bg: #1D290A;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--primary-bg);
            color: white;
            overflow-x: hidden;
        }

        html {
            scroll-behavior: smooth;
        }

        /* Welcome Section */
        .welcome-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .welcome-text {
            font-size: 10rem;
            color: var(--accent-gold);
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(90, 95, 74, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem 2rem;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            opacity: 0;
            transform: translateY(-100%);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        nav.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo {
            display: none;
        }

        .nav-links {
            display: flex;
            gap: 0.5rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: #454D38;
            padding: 0.6rem 1.5rem;
            border-radius: 25px;
            background: var(--nav-bg);
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .nav-links a:hover, .nav-links a.active {
            background: var(--accent-gold);
            color: var(--primary-bg);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            position: fixed;
            top: 1rem;
            right: 2rem;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            transition: 0.3s;
        }

        /* Sections */
        section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 2rem 2rem;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        section.animate {
            opacity: 1;
            transform: translateY(0);
        }

        section.welcome-section {
            opacity: 1;
            transform: translateY(0);
        }

        .container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
        }

        /* Hero Section */
        .hero {
            text-align: center;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 8vw, 5rem);
            color: var(--accent-gold);
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .hero p {
            font-size: clamp(1.2rem, 3vw, 2rem);
            color: var(--light-text);
            margin-bottom: 2rem;
        }

        .btn {
            background: var(--accent-gold);
            color: var(--primary-bg);
            padding: 1rem 2.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        /* About Section */
        .about-content {
            /* Use a single column grid for the main container */
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem; /* Space between the top row and the accordion (though now it's inside text) */
            align-items: flex-start;
        }

        .about-top-row {
            /* Create a grid for the photo and text in the top row */
            display: grid;
            grid-template-columns: 1fr 2fr; /* Photo (1 unit) and Text (2 units) */
            gap: 2rem;
            align-items: flex-start;
        }

        .photo-frame {
            background: white;
            padding: 1rem;
            transform: rotate(-5deg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            transition: transform 0.3s;
        }

        .photo-frame:hover {
            transform: rotate(0deg);
        }

        .photo-frame img {
            width: 100%;
            display: block;
        }

        .about-text h2 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--light-text);
            margin-bottom: 2rem; /* Add space between paragraph and accordion */
        }

        /* Accordion Styles */
        .accordion-container {
            width: 100%;
            /* Removed margin: 0 auto; as it's now contained within the text column */
        }

        .accordion-item {
            border: 1px solid var(--nav-bg);
            margin-bottom: 10px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .accordion-header {
            background: var(--nav-bg);
            color: white;
            padding: 1rem 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            transition: background 0.3s;
        }

        .accordion-header:hover {
            background: #7c8166;
        }

        .accordion-header.active {
            background: var(--accent-gold);
            color: var(--primary-bg);
        }

        .accordion-icon {
            font-size: 1.5rem;
            transition: transform 0.3s;
        }

        .accordion-header.active .accordion-icon {
            transform: rotate(45deg);
        }

        .accordion-content {
            background: #454D38;
            color: var(--light-text);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-in-out;
            padding: 0 1.5rem;
        }

        .accordion-content.open {
            /* The max-height should be large enough to contain the content */
            max-height: 500px; 
            padding: 1rem 1.5rem;
        }
        /* End Accordion Styles */

        /* Carousel Section */
        .carousel-section {
            text-align: center;
        }

        .carousel-container {
            position: relative;
            max-width: 600px;
            margin: 0 auto 3rem;
        }

        .carousel {
            background: #FDCEA1;
            padding: 1.5rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            transition: transform 0.3s ease;
        }

        .carousel:hover {
            transform: scale(1.05);
        }

        .carousel img {
            width: 100%;
            display: block;
            transition: opacity 0.5s ease;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(107, 112, 85, 0.8);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            transition: all 0.3s;
        }

        .carousel-nav:hover {
            background: var(--accent-gold);
            color: var(--primary-bg);
        }

        .carousel-nav.prev {
            left: -70px;
        }

        .carousel-nav.next {
            right: -70px;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 1rem;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--nav-bg);
            cursor: pointer;
            transition: 0.3s;
        }

        .dot.active {
            background: var(--accent-gold);
            transform: scale(1.2);
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 3rem);
            color: var(--accent-gold);
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .section-description {
            font-size: 1.1rem;
            color: var(--light-text);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Layouting Section */
        .layouting-carousel {
            display: flex;
            gap: 2rem;
            justify-content: center;
            align-items: center;
            margin: 0 auto 3rem;
            max-width: 900px;
        }

        .layouting-item {
            background: #FDCEA1;
            padding: 1rem;
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
            transition: all 0.5s ease;
            cursor: pointer;
        }

        .layouting-item.active:hover {
            transform: scale(1.15) !important;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }

        .layouting-item.active {
            transform: scale(1.1);
        }

        .layouting-item:not(.active) {
            opacity: 0.6;
            transform: scale(0.9) rotate(-3deg);
        }

        .layouting-item:not(.active):hover {
            opacity: 0.7;
        }

        .layouting-item img {
            width: 200px;
            display: block;
        }

        /* Others Grid */
        .others-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 3rem auto 0;
        }

        .others-item {
            background: #FDCEA1;
            padding: 0.8rem;
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
            transition: transform 0.3s;
        }

        .others-item:hover {
            transform: scale(1.05);
        }

        .others-item img {
            width: 100%;
            display: block;
        }

        /* Contact Section */
        .contact-content {
            max-width: 700px;
            margin: 0 auto;
            text-align: left;
        }

        .contact-content h2 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: var(--accent-gold);
            margin-bottom: 0rem;
        }

        .contact-content > p {
            font-size: 1.2rem;
            color: var(--light-text);
            margin-bottom: 3rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }

        .form-group label {
            display: block;
            color: var(--light-text);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: var(--nav-bg);
            border: none;
            border-radius: 10px;
            color: white;
            font-family: inherit;
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: 2px solid var(--accent-gold);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        /* Footer - MODIFIED STYLES */
        footer {
            background: var(--dark-green);
            padding: 3rem 2rem;
            text-align: left;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            /* Changed to use Grid for the two columns (Left: portfolio text, Right: social links) */
            display: grid;
            grid-template-columns: auto 1fr; /* Two columns: first is auto-width, second takes remaining */
            gap: 2rem;
            align-items: flex-start; 
        }

        .footer-portfolio-text {
            color: var(--accent-gold);
            font-size: 0.95rem; 
            align-self: flex-start; 
        }
        
        /* New style for the social links container to align its content to the right edge of the grid item */
        .footer-social-section {
            display: flex;
            flex-direction: column;
            align-items: flex-end; /* Align social links to the right */
            text-align: right;
        }

        .social-links {
            /* Now only contains the links */
        }

        .social-links a {
            color: var(--light-text);
            text-decoration: none;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: var(--accent-gold);
        }

        .footer-title {
            font-size: clamp(3rem, 8vw, 6rem); /* Make it large and responsive */
            color: var(--accent-gold);
            margin-top: 1.5rem; /* Separates the title from the content above */
            font-weight: bold;
            letter-spacing: 0.05em; /* Add slight spacing for visual impact */
            text-align: left; /* Ensure the big text aligns left */
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Back to Top */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--accent-gold);
            color: var(--primary-bg);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: 0.3s;
            z-index: 999;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
        }

        .back-to-top.show {
            display: flex;
        }

        /* Custom Cursor */
        .custom-cursor {
            position: fixed;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 9999;
            background: var(--accent-gold);
            color: var(--primary-bg);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.05s ease-out;
            white-space: nowrap;
        }

        .custom-cursor.active {
            opacity: 1;
        }

        /* Any element with this attribute will trigger the custom cursor */
        [data-cursor-text] {
            cursor: none;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            /* On medium screens, stack the photo and text vertically */
            .about-top-row {
                grid-template-columns: 1fr;
            }
            .photo-frame {
                /* Center image in stacked layout */
                max-width: 300px;
                margin: 0 auto;
                transform: rotate(0deg); /* remove rotation for mobile */
            }
            .about-text {
                text-align: center;
            }
            .about-text h2 {
                text-align: center;
            }
            /* The accordion will now take up the full width of the about-text column (1fr) */
            .about-text p {
                text-align: left; /* Keep paragraph left-aligned for readability */
            }
            .accordion-container {
                max-width: none; /* Allow it to fill the about-text column */
            }
        }
        
        @media (max-width: 768px) {
            .welcome-text {
                font-size: 5rem;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background: var(--dark-green);
                width: 100%;
                padding: 2rem;
                transition: 0.3s;
            }

            .nav-links.active {
                left: 0;
            }

            .hamburger {
                display: flex;
            }

            .carousel-nav.prev {
                left: -10px;
            }

            .carousel-nav.next {
                right: -10px;
            }

            .layouting-carousel {
                flex-direction: column;
            }

            .layouting-item {
                width: 100%;
                max-width: 300px;
            }
            
            /* Footer Responsive Adjustments */
            .footer-content {
                grid-template-columns: 1fr; /* Stack columns on small screens */
                gap: 1rem;
            }

            .footer-portfolio-text,
            .footer-social-section,
            .footer-title {
                text-align: center; /* Center everything on mobile */
                align-items: center; 
            }
            
            .footer-social-section {
                align-items: center; /* Center the social section content */
            }

            .footer-title {
                font-size: clamp(2rem, 10vw, 4rem);
                margin-top: 1rem;
            }
        }