/* 
   Theme: İzmir Tenteci - Luxury Resort (Warm Cream/Beige)
   Ref: Serene Escapes Resort Design
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* 
   Warm Cream/Beige Luxury Theme
   Primary palette inspired by high-end resort aesthetics
*/
:root {
    /* Background Colors */
    --bg-dark: #F5F0E8;
    --bg-darker: #FAF7F2;
    --bg-card: #FFFFFF;
    --bg-contrast: #F8F5F0;

    /* Accent Colors */
    --primary: #C9A961;
    --primary-hover: #B98E4C;
    --gold: #C9A961;

    /* Text Colors */
    --text-white: #2C3530;
    --text-dark: #1F2623;
    --text-gray: #6B7280;
    --text-muted: #9CA3AF;
    --text-on-dark: #F5F0E8;

    /* Borders & Glass */
    --border-color: rgba(44, 53, 48, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(201, 169, 97, 0.25);

    /* Shadows */
    --card-shadow: 0 4px 20px rgba(44, 53, 48, 0.06);

    /* Static Colors */
    --static-white: #FFFFFF;
    --static-black: #2C3530;

    /* Dark Section (Footer) */
    --footer-bg: #2C3530;
    --footer-text: #F5F0E8;

    /* Layout */
    --container-width: 1300px;
    --header-height: 90px;
}

/* Dark sections (footer, CTA bands) */
.section-dark {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--footer-text);
}

.section-dark p {
    color: rgba(245, 240, 232, 0.8);
}

/* Contrast Section Utility */
.section-light {
    background-color: var(--bg-contrast);
    color: var(--text-dark);
}

.section-light .section-title {
    color: var(--text-dark);
}

.section-light p {
    color: var(--text-gray);
}

.section-light .section-link {
    color: var(--text-gray);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header (Warm Cream Theme)
   ========================================================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--text-white);
}

.logo span {
    color: var(--primary);
}

/* Navigation - Elegant Style */
.main-nav ul {
    display: flex;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* Header Right Info */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.btn-sm-gold {
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
}

.btn-sm-gold:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* ==========================================================================
   Hero Section (Warm Gradient)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #F5F0E8 0%, #E8DDD0 50%, #D4CFC5 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.7) 0%, rgba(245, 240, 232, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.hero-badge {
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 50px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: none;
    font-weight: 600;
    color: var(--text-dark);
}

.hero h1 span {
    font-style: italic;
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: var(--text-dark);
    color: var(--text-on-dark);
}

/* ==========================================================================
   Services (Bento Grid)
   ========================================================================== */
.section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    font-weight: 600;
}

.section-title span {
    font-style: italic;
    color: var(--primary);
}

.section-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 12px;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 and 1/3 split */
    grid-template-rows: 300px 300px;
    gap: 20px;
}

/* Adjust grid for specific cards */
.card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: var(--bg-card);
    box-shadow: var(--card-shadow);
}

.card-stack {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    /* Right column stack */
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.card-stack-item {
    flex: 1;
    background: var(--bg-card);
    box-shadow: var(--card-shadow);
}

.card-row {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    /* Bottom Left Row */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Card Styling */
.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(44, 53, 48, 0.12);
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bento-card:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 53, 48, 0.9), rgba(44, 53, 48, 0.3) 50%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.bento-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.bento-title {
    color: #fff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.bento-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-transform: none;
}

.bento-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: white;
    opacity: 0.5;
}

/* ==========================================================================
   Why Us (Split)
   ========================================================================== */
.why-us-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-left {
    position: relative;
    height: 500px;
}

.why-us-left img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

.stats-float {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--bg-darker);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stats-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stats-label {
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.why-item h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.why-item span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.why-item p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================================================
   Projects (Slider Mockup)
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.project-item {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.project-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Footer (Dark Charcoal Section)
   ========================================================================== */
.site-footer {
    background: #2C3530;
    padding: 80px 0 30px;
    border-top: none;
    color: #F5F0E8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #F5F0E8;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(245, 240, 232, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.bottom-bar {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(245, 240, 232, 0.6);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-stack,
    .card-row {
        grid-column: span 1;
        grid-row: span 1;
    }

    .why-us-split {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Services Page (Mixed Grid 1:1)
   ========================================================================== */
.services-page-header {
    background-color: var(--bg-darker);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-page-header::before,
.services-page-header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--bg-card) 15%, transparent 16%),
        radial-gradient(var(--bg-card) 15%, transparent 16%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.1;
    z-index: 0;
}

.services-page-header::before {
    top: -50px;
    left: -50px;
}

.services-page-header::after {
    bottom: -50px;
    right: -50px;
}

.services-page-header h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.services-page-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}

.services-mixed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 100px;
}

/* Dynamic Spans for Desktop */
@media (min-width: 1200px) {
    .service-grid-card:nth-child(-n+6) {
        grid-column: span 2;
        height: 350px;
    }

    .service-grid-card:nth-child(n+7) {
        grid-column: span 1;
        height: 400px;
    }
}

.service-grid-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--bg-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.service-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-grid-card:hover img {
    transform: scale(1.08);
}

.service-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 2, 20, 0.95), rgba(0, 2, 20, 0.6) 40%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-grid-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-grid-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1199px) {
    .services-mixed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .services-mixed-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-hero {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), var(--bg-dark));
}

.about-hero-content {
    position: relative;
    z-index: 10;
}

.about-hero h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.about-hero p {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
}

.about-story-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.story-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-color);
}

.story-image {
    height: 100%;
    min-height: 400px;
}

.story-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.story-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-subtitle {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 12px;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.story-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.mission-vision-section {
    padding: 0 0 100px;
    background-color: var(--bg-darker);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-card h3 {
    color: var(--bg-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mv-card p {
    color: #4B5563;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, black, transparent);
}

.team-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.team-info span {
    color: var(--static-white);
    font-size: 0.9rem;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-header-section {
    padding: 150px 0 60px;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(197, 160, 89, 0.05);
}

.contact-icon-large {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-card-text span {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-card-text h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin: 0;
}

.contact-form-container {
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 50px;
    background: var(--bg-card);
}

.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-map-section {
    position: relative;
    height: 500px;
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    filter: grayscale(100%) invert(90%) hue-rotate(180deg);
}

.map-info-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    z-index: 10;
    filter: none;
    /* Prevent map filter inheritance */
}

@media (max-width: 1024px) {

    .story-card,
    .mv-grid,
    .contact-info-grid,
    .form-grid-row {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 300px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */
.gallery-page-header {
    background-color: var(--bg-darker);
    padding: 100px 0 60px;
    text-align: center;
    background-image: radial-gradient(circle at center, #1e293b 0%, var(--bg-darker) 70%);
}

.gallery-page-header h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.gallery-page-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gallery-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 80px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    group: pointer;
    border: 1px solid var(--border-color);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-info {
    flex: 1;
}

.gallery-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-title {
    transform: translateY(0);
}

.gallery-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-icon-btn {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Project Detail Styles
   ========================================================================== */
.project-detail-hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.project-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 60%, transparent 100%);
}

.project-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 80px 0;
}

.project-specs-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 120px;
}

.project-spec-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-spec-item label {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.project-spec-item p {
    color: var(--text-white);
    font-size: 16px;
    margin: 0;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 100px;
}

.blog-card-large {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.blog-card-large:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.blog-card-image {
    width: 40%;
    min-height: 300px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    align-self: flex-start;
}

.blog-card-content h2 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 992px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-large {
        flex-direction: column;
    }

    .blog-card-image,
    .blog-card-content {
        width: 100%;
    }

    .blog-card-image {
        height: 250px;
        min-height: auto;
    }
}


/* ==========================================================================
   Regional Page Styles
   ========================================================================== */
.regional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 80px;
}

.region-card-horizontal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.region-card-horizontal:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.region-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.region-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.region-content h3 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.region-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.region-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.region-link:hover {
    text-decoration: underline;
}

/* Region Detail */
.region-detail-hero {
    height: 50vh;
    min-height: 400px;
    /* Same as other heros but can be customized */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .regional-grid {
        grid-template-columns: 1fr;
    }

    .region-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .region-thumb {
        width: 100%;
        height: 200px;
    }
}


/* ==========================================================================
   Refined Animation Utilities - Corporate Elegance
   ========================================================================== */

/* Hero accent line - decorative */
.hero-accent-line {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--primary) 20%, transparent);
    opacity: 0.3;
    pointer-events: none;
    z-index: 20;
}

/* Image frame with corner accent */
.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-frame img {
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.02);
}

/* Corner accent - decorative gold line */
.corner-accent {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    background: var(--primary);
}

.corner-accent::before {
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
}

.corner-accent::after {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 30px;
}

/* Smooth transitions for interactive elements */
.bento-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.bento-card img {
    transition: transform 0.4s ease;
}

.bento-overlay {
    transition: transform 0.3s ease;
}

/* Why item hover - subtle lift */
.why-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-item:hover {
    transform: translateY(-3px);
}

/* 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;
        scroll-behavior: auto !important;
    }

    .hero-content>* {
        opacity: 1 !important;
        transform: none !important;
    }

    .bento-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* No-JS Fallback */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-js .hero-content>*,
html.no-js .hero-content>* {
    animation: fadeInUp 0.6s ease-out forwards;
}

.no-js .bento-card,
html.no-js .bento-card {
    opacity: 1 !important;
    transform: none !important;
}