/* --- Variables & Core Setup --- */
:root {
    --primary: #0f0f0f;
    --accent: #d4a574;
    --accent-dark: #b8925f;
    --text-main: #1a1a1a;
    --text-muted: #6b6b6b;
    --bg-light: #fafaf8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.97);
    --error: #d32f2f;
    --success: #2e7d32;
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Focus visible styles for accessibility */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

h1, h2, h3, .logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Visually hidden class for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--white);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    z-index: 2000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1015;
    padding: 28px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 18px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;
    z-index: 1020;
}

.logo {
    font-size: 1.4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    z-index: 1020;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-ampersand {
    color: var(--accent);
    font-size: 1.6rem;
    font-style: italic;
    position: relative;
    top: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 7px;
    z-index: 1020;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
    display: block;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('images/hero-background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.4) 60%, rgba(15,15,15,0.2) 100%);
    z-index: 2;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    padding-left: 8%;
    max-width: 900px;
    animation: heroFadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    padding-left: 60px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 1px;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 45px;
    max-width: 550px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button:hover::before {
    transform: translateX(0);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1.2rem;
}

.cta-button:hover .btn-arrow {
    transform: translateX(5px);
}

.cta-button.primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.cta-button.primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
    transform: translateY(-3px);
}

.cta-button.secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.4s ease;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* --- Page Sections General --- */
.page-section {
    display: none;
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
}

body.menu-open .page-section {
    position: fixed;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-label {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: var(--accent);
}

/* --- Services Section --- */
.services-container, .portfolio-container, .ongoing-container, .about-container, .contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.services-header, .portfolio-header, .ongoing-header, .contact-header, .about-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h1, .portfolio-header h1, .ongoing-header h1, .contact-header h1, .about-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--text-main);
}

.services-header p, .portfolio-header p, .ongoing-header p, .contact-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: rgba(212, 165, 116, 0.2);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.service-icon {
    color: var(--accent);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.service-card:hover .service-decoration {
    transform: scale(1.3);
}

/* --- Process Section --- */
.process-section {
    margin-top: 100px;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.process-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--accent);
    font-weight: 700;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.step-intro {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.step-list li {
    color: var(--text-muted);
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.8;
}

.step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* --- Portfolio Section --- */
.portfolio-grid, .ongoing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.portfolio-item, .ongoing-item {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-overlay, .ongoing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay,
.ongoing-item:hover .ongoing-overlay {
    background: linear-gradient(to top, rgba(15, 15, 15, 0.98) 0%, rgba(15, 15, 15, 0.6) 60%, rgba(15, 15, 15, 0.2) 100%);
}

.portfolio-category {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.portfolio-overlay h3, .ongoing-overlay h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3,
.ongoing-item:hover .ongoing-overlay h3 {
    transform: translateY(-5px);
}

.portfolio-overlay p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Portfolio Hidden Items */
.portfolio-hidden {
    display: none;
    opacity: 0;
}

.portfolio-visible {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Load More Button Container */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-bottom: 40px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border: 2px solid var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

.load-more-btn .btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.load-more-btn:hover .btn-arrow {
    transform: translateY(3px);
}

/* --- Ongoing Work Section --- */
.ongoing-status {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

.ongoing-location {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.ongoing-progress {
    margin-top: 25px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.progress-text {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.about-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--accent);
    z-index: 2;
    transform: translate(-15px, -15px);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(212, 165, 116, 0.02) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.team-image::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-image::before {
    opacity: 1;
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-member p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.minimal-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 35px;
}

.minimal-form input,
.minimal-form textarea,
.minimal-form select {
    width: 100%;
    padding: 18px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
    outline: none;
    color: var(--text-main);
}

.minimal-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

.minimal-form input::placeholder,
.minimal-form textarea::placeholder {
    color: #c0c0c0;
}

.minimal-form input:focus, 
.minimal-form textarea:focus,
.minimal-form select:focus {
    border-bottom-color: var(--accent);
}

.minimal-form input[aria-invalid="true"],
.minimal-form textarea[aria-invalid="true"],
.minimal-form select[aria-invalid="true"] {
    border-bottom-color: var(--error);
}

.minimal-form textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 8px;
    display: block;
    min-height: 20px;
}

.send-inquiry-btn {
    background: var(--primary);
    color: var(--white);
    padding: 20px 50px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.send-inquiry-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.send-inquiry-btn:hover::before {
    transform: translateX(0);
}

.send-inquiry-btn span {
    position: relative;
    z-index: 1;
}

.send-inquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 15, 15, 0.2);
}

.send-inquiry-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.send-inquiry-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-sidebar .sidebar-item {
    margin-bottom: 50px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(212, 165, 116, 0.02) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition);
}

.contact-sidebar .sidebar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.15);
}

.contact-sidebar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 600;
}

.contact-sidebar p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-dark);
}

.form-message {
    margin-top: 25px;
    padding: 18px;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* --- Footer --- */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-logo .logo-ampersand {
    color: var(--accent);
    font-size: 2rem;
    font-style: italic;
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
}

.footer-copyright {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-link:hover::after {
    width: 100%;
}

/* --- Animation Utilities --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grids */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

/* --- Reduced motion support --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1010;
        gap: 45px;
        padding: 80px 20px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
        animation: menuSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    @keyframes menuSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links a {
        font-size: 1.4rem;
    }
    
    .hamburger {
        display: flex;
    }

    .about-content, 
    .contact-content, 
    .team-grid, 
    .portfolio-grid,
    .ongoing-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
    }

    .hero-subtitle::before {
        display: none;
    }

    .hero-subtitle {
        padding-left: 0;
    }

    .hero-btns {
        justify-content: center;
    }

    .cta-button.secondary {
        margin-left: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .ongoing-item {
        height: 420px;
    }

    .contact-content {
        gap: 60px;
    }

    .portfolio-item,
    .ongoing-item {
        height: 400px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 25px;
    }

    .step-number {
        font-size: 2rem;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .about-image {
        height: 400px;
    }

    .about-image::before {
        transform: translate(-10px, -10px);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .services-header h1,
    .portfolio-header h1,
    .ongoing-header h1,
    .contact-header h1,
    .about-header h1 {
        font-size: 2.2rem;
    }

    .process-header h2,
    .team-section h2,
    .about-text h2 {
        font-size: 2rem;
    }

    .step-content h3 {
        font-size: 1.4rem;
    }

    .portfolio-item,
    .ongoing-item {
        height: 350px;
    }

    .ongoing-overlay {
        padding: 2rem 1.5rem;
    }

    .ongoing-overlay h3 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 40px 30px;
    }

    .contact-sidebar .sidebar-item {
        padding: 25px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .services-grid,
    .portfolio-grid,
    .ongoing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .load-more-btn {
        padding: 16px 35px;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .load-more-container {
        margin-top: 40px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Print styles --- */
@media print {
    .nav-container,
    .hamburger,
    .back-to-top,
    .scroll-indicator,
    .cta-button {
        display: none;
    }

    body {
        background: white;
    }

    .page-section {
        display: block !important;
        page-break-after: always;
    }
}