/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --color-gold: #D4AF37;
    --color-gold-light: #F4C430;
    --color-text-main: #FAFAFA;
    --color-text-muted: #B0B0B0;
    --color-border: #2A2A2A;

    --font-serif: 'Ubuntu', sans-serif;
    --font-sans: 'Ubuntu', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --spacing-container: 6%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll on html */
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    /* Prevent horizontal scroll on body */
    width: 100%;
    position: relative;
    /* Context */
    font-weight: 700;
    /* Ubuntu Bold for the whole site */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    padding: 0 var(--spacing-container);
    max-width: 1600px;
    margin: 0 auto;
}

.section {
    padding: 120px 0;
    scroll-margin-top: 100px;
    /* Fix for sticky header covering content */
}

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

/* =========================================
   Typography & Utilities
   ========================================= */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 4rem;
    font-family: var(--font-sans);
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
    border-radius: 0;
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--bg-dark);
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.85);
    /* Slightly more transparent */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Finer border */
    padding: 25px 0;
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 50px;
    /* Increased gap for elegance */
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

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

.btn-contact {
    border: 1px solid var(--color-gold);
    padding: 8px 20px;
    color: var(--color-gold);
    border-radius: 0;
}

.btn-contact:hover {
    background-color: var(--color-gold);
    color: var(--bg-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
}

/* =========================================
   Hero Section
   ========================================= */
/* =========================================
   Hero Section
   ========================================= */
/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('ysmarblearkaplan.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 70%,
            rgba(10, 10, 10, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards;
}

.hero-logo-script {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 9rem;
    margin-right: -15px;
    color: var(--color-text-main);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.hero-logo-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 6rem;
    color: var(--color-gold);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-primary {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-bottom: 5px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 20px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s forwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.8s forwards;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   About Section
   ========================================= */
.section.about {
    background-color: #0F0F11;
    /* Very dark background to match design */
    color: #ffffff;
    padding: 120px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content .section-title {
    color: #e6b368;
    /* Golden color matching the design */
    font-size: 3.5rem;
    font-weight: 400;
    /* Regular weight often looks more elegant in headings */
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    line-height: 1.2;
}

.about-content .section-text {
    color: #a0a0a0;
    /* Muted grey text */
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
    /* Lighter weight for text */
}

.stats-grid {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    margin-top: 3.5rem;
    border-top: none;
    /* Removed border to match clean design */
    padding-top: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #e6b368;
    /* Golden color */
    font-weight: 700;
    /* Bold numbers */
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: #888;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: capitalize;
    /* Or none, depending on preference, likely normal case in design */
    letter-spacing: 0;
}

.about-image {
    position: relative;
    height: 500px;
    /* Fixed height for consistency */
    border-radius: 16px;
    /* Rounded corners as per typical modern design */
    overflow: hidden;
}

.about-image::before {
    display: none;
    /* Removing the border box effect to match the clean image in design */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        height: 350px;
        order: -1;
        /* Image on top on mobile often looks better, or bottom. Let's keep it standard or bottom. */
    }
}

/* =========================================
   Gallery Section
   ========================================= */
/* =========================================
   Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-gold);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    /* Zoom in to hide baked-in borders */
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.45);
}


.gallery-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gallery-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: inline-block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-tag {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
}

.gallery-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: var(--color-text-main);
    font-family: var(--font-sans);
    /* Use sans-serif for modern look as per screenshot */
    font-weight: 500;
}

.gallery-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Features Section adjustments to follow */

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

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

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Usage Areas Section
   ========================================= */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 500px;
}

.usage-item {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-item:last-child {
    border-right: none;
}

.usage-item img {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: var(--transition);
}

.usage-item:hover img {
    opacity: 0.3;
    transform: scale(1.1);
}

.usage-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.usage-content h3 {
    font-size: 1.5rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0 auto;
    letter-spacing: 2px;
    transition: var(--transition);
}

.usage-item:hover .usage-content h3 {
    color: var(--color-gold);
}

/* =========================================
   Advantages Section
   ========================================= */
.section.advantages {
    background-color: #0F0F11;
    padding-top: 100px;
    padding-bottom: 120px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background-color: #121212;
    /* Slightly lighter than bg */
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: #333;
    transform: translateY(-5px);
    background-color: #161616;
}

.advantage-icon {
    width: 44px;
    height: 44px;
    background-color: #E67E22;
    /* Orange for the icon bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.advantage-icon svg {
    width: 22px;
    height: 22px;
}

.advantage-card h3 {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-weight: 500;
}

.advantage-card p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Projects Stats Section
   ========================================= */
.section.projects-stats {
    background-color: #0F0F11;
    border-bottom: 1px solid #1a1b1e;
}

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

.stat-card {
    background-color: #0F0F11;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #e6b368;
    transform: translateY(-5px);
}

.stat-card-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e6b368;
    font-family: var(--font-serif);
    margin-bottom: 10px;
}

.stat-card-label {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Process Section
   ========================================= */
.section.process {
    background-color: #0F0F11;
    padding-top: 80px;
    padding-bottom: 120px;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background-color: #0a0a0a;
    /* Slightly darker or same as bg, design uses borders mostly */
    border: 1px solid #2A2A2A;
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: #333;
}

.process-bg-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-serif);
    line-height: 1;
    z-index: 0;
}

.process-icon {
    width: 48px;
    height: 48px;
    background-color: #E67E22;
    /* Orange color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.3);
    /* Glowing effect */
}

.process-icon svg {
    width: 24px;
    height: 24px;
}

.process-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.process-card p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Connecting line effect - approximate as simple grid usually suffices, but we can add pseudo elements if needed for 'flow'. Design shows simple line. */
.process-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 1px;
    background-color: #2A2A2A;
    z-index: 0;
    display: none;
    /* Hidden for now as grid gap handles spacing, strict line needs precise positioning or flex */
}

@media (max-width: 900px) {
    .process-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    display: flex;
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
}

.contact-form-container {
    flex: 3;
    padding: 80px;
}

.contact-info {
    flex: 2;
    background-color: #1f1f1f;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-border);
}

.contact-form-container h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.contact-form-container p {
    color: var(--color-text-muted);
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

.info-item {
    margin-bottom: 50px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.info-item p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    background-color: #050505;
}

.footer-content {
    display: flex;
    justify-content: center;
    /* Center everything */
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 40px;
    /* Space out icons */
}

.footer-social a {
    color: var(--color-text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
    /* Subtle lift effect */
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .about-content {
        order: 0;
    }

    .about-image {
        order: 1;
    }

    .stats-grid {
        justify-content: center;
    }

    .about-image img {
        height: 400px;
    }

    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .usage-item {
        height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .process-connector {
        display: none;
    }

    .process-step::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 30px;
        background: var(--color-gold);
        opacity: 0.3;
    }

    .process-step:last-child::after {
        display: none;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-container,
    .contact-info {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        padding: 40px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        position: relative;
        /* Default state in header */
    }

    /* Active State (The X) - Centered at Top */
    .mobile-menu-btn.active {
        position: fixed;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: #fff;
        /* Ensure visibility */
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: #fff;
    }

    .mobile-menu-btn span {
        transition: var(--transition);
        transform-origin: center;
        width: 35px;
        /* Slightly larger for easier tap */
        height: 3px;
    }

    .nav.active {
        left: 0;
        justify-content: center;
        /* Center menu items vertically */
        padding-top: 60px;
        /* Balanced spacing */
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
        /* Tighter spacing for mobile fit */
        text-align: center;
    }

    .nav-link {
        font-size: 1.8rem;
        /* Larger font like screenshot */
        color: var(--color-text-main);
        font-weight: 500;
        letter-spacing: 2px;
    }

    .hero-title {
        flex-direction: column;
        gap: 10px;
    }

    .hero-logo-script {
        font-size: 6rem;
        margin: 0;
    }

    .hero-logo-serif {
        font-size: 3rem;
    }

    .hero-subtitle-primary {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
        /* Compact section titles */
    }

    .contact-form-container,
    .contact-info {
        padding: 25px;
        /* More breathing room on small screens */
    }

    .nav-link {
        font-size: 1.5rem;
        /* Slightly smaller menu links if vertical space is tight */
    }

    /* Mobile 2-Column Grid Adjustments */
    .gallery-grid {
        gap: 15px;
        /* Tighten gap for 2-column */
    }

    .gallery-content {
        padding: 12px;
        /* Reduce padding to fit text in narrow columns */
    }

    .gallery-content h3 {
        font-size: 1.1rem;
        /* Smaller title */
        margin-bottom: 5px;
    }

    .gallery-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}

/* =========================================
   Mobile Fix (iPhone 17 & Small Screens)
   ========================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Fix Huge Hero Fonts */
    .hero-logo-script {
        font-size: 3.5rem !important;
        line-height: 1.2;
    }

    .hero-logo-serif {
        font-size: 2rem !important;
    }

    .hero-subtitle-primary {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    /* Fix Footer Overflow */
    .footer-social {
        flex-direction: column;
        /* Stack icons vertically */
        gap: 15px;
        align-items: center;
        /* Center them */
        padding-bottom: 30px;
    }

    .footer-social a {
        width: 100%;
        justify-content: center;
    }

    .footer-social a span {
        font-size: 0.9rem;
    }

    /* Fix Grid Overflow */
    .gallery-grid,
    .advantages-grid {
        grid-template-columns: 1fr !important;
        /* Single column */
        gap: 15px;
    }

    .gallery-content {
        padding: 10px;
    }

    .contact-form-container,
    .contact-info {
        padding: 20px 10px;
    }
}

/* Stock Button Style */
.btn-stock {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #e6b368;
    font-weight: bold;
    border: 1px solid #e6b368;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.btn-stock:hover {
    background-color: #e6b368;
    color: #000;
}