/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1f3f5f;  /* rich blue */
    --primary-light: #4c6784;
    --secondary-color: #0f1b2a;
    --accent-color: #d6b48c;   /* neutral tan */
    --silver: #cfd5dd;
    --text-dark: #1c1f24;
    --text-light: #5f6872;
    --bg-light: #f4f2ef;
    --bg-dark: #0b121c;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d6b48c 0%, #1f3f5f 100%);
    --gradient-secondary: linear-gradient(135deg, #bfc8d6 0%, #1f3f5f 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /*--logo-stroke-outline:
        drop-shadow(0 0 0 #ffffff)
        drop-shadow(1px 0 0 #ffffff)
        drop-shadow(-1px 0 0 #ffffff)
        drop-shadow(0 1px 0 #ffffff)
        drop-shadow(0 -1px 0 #ffffff)
        drop-shadow(1px 1px 0 #ffffff)
        drop-shadow(-1px -1px 0 #ffffff)
        drop-shadow(1px -1px 0 #ffffff)
        drop-shadow(-1px 1px 0 #ffffff);
*/}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: var(--transition);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0;
}

.navbar .container {
    min-height: 54px;
    transition: min-height 0.35s ease;
}

.brand-logo {
    display: block;
    height: auto;
    width: clamp(160px, 14vw, 240px);
    object-fit: contain;
    filter: var(--logo-stroke-outline) drop-shadow(0 4px 10px rgba(0,0,0,0.18));
    transition: filter 0.3s ease;
}

.brand-text {
    display: inline-block;
    white-space: nowrap;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(15, 25, 40, 0.95) 0%, rgba(31, 63, 95, 0.9) 55%, rgba(214, 180, 140, 0.8) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 25, 40, 0.8) 0%, rgba(31, 63, 95, 0.75) 60%, rgba(15, 15, 15, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    max-width: 20ch;
    text-wrap: balance;
}

.text-gradient {
    background: linear-gradient(45deg, #d6b48c, #cfd5dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 1.5rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 1rem;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light) !important;
}

.btn-outline-light {
    border: 2px solid var(--silver);
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in-up-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.animate-fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.dark-section {
    background: linear-gradient(145deg, rgba(15,25,40,0.95), rgba(31,63,95,0.85));
    color: var(--white);
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section .section-title::after {
    background: var(--white);
}

.dark-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.service-note {
    font-size: 0.7rem;
    color: rgba(28, 31, 36, 0.6);
    font-weight: 400;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-section {
    background: linear-gradient(145deg, #f5f7fa 0%, #eef2f7 100%);
}

.gallery-dynamic {
    background: var(--white);
    border-radius: 32px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 25px 70px rgba(15, 25, 40, 0.12);
}

.gallery-grid[data-gallery-grid] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 992px) {
    .gallery-grid[data-gallery-grid] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .gallery-grid[data-gallery-grid] {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-page-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(15, 25, 40, 0.15);
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-page-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.gallery-page-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
}

.gallery-page-status {
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: #0f1928;
    min-height: 180px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-thumb:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb:hover::after {
    opacity: 1;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 3rem);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    animation: modalReveal 0.4s ease;
}

.gallery-modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #111;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.gallery-modal-close:hover {
    transform: scale(1.05);
}

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

.gallery-section .section-subtitle {
    color: rgba(20, 32, 48, 0.85);
    text-shadow: none;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,25,40,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-info h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(20px);
    transition: var(--transition) 0.1s;
}

.gallery-item:hover .gallery-info h4,
.gallery-item:hover .gallery-info p {
    transform: translateY(0);
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.about-image img {
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Section */
.contact-info {
    background: #FFFFFF; /* updated to neutral white hue */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(31,63,95,0.08); /* updated to neutral blue hue */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #B1B1B1; /* updated to neutral light gray hue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: #FFFFFF; /* updated to neutral white hue */
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #333333; /* updated to neutral dark gray hue */
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666666; /* updated to neutral medium gray hue */
    margin: 0;
}

.contact-form {
    background: #FFFFFF; /* updated to neutral white hue */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(207,213,221,0.6); /* updated to neutral light gray hue */
}

.form-control {
    border: 2px solid #E2E6EC; /* updated to neutral light gray hue */
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(31, 63, 95, 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f1b2a 0%, #1f3f5f 80%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: var(--logo-stroke-outline) drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.footer-brand-text {
    display: inline-block;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    background: var(--gradient-primary);
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        gap: 0.25rem;
    }

    .hero-floating-logo {
        top: 100px;
        left: 1rem;
        padding: 0.25rem 0.75rem 0.6rem;
    }

    .brand-logo {
        width: clamp(140px, 55vw, 220px);
    }

    .footer-logo {
        height: 30px;
        max-height: 30px;
    }

    .nav-link {
        margin: 0.25rem 0;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: var(--secondary-color);
}

/* Focus States */
.btn:focus,
.form-control:focus {
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c19a6b;
}
