/* ==========================================================================
   One Page Studio - Static Demo Styles
   Based on WordPress theme design
   ========================================================================== */

:root {
    /* Colors matching nit-studio.com */
    --nit-black: #000000;
    --nit-white: #ffffff;
    --nit-beige: #f5f1e8;
    --nit-gold: #d4af37;
    --nit-text-dark: #1a1a1a;
    --nit-text-light: #666666;
    --nit-brown: #8B7355;
    
    /* Typography */
    --nit-font-serif: 'Playfair Display', Georgia, serif;
    --nit-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.one-page-section {
    width: 100%;
    position: relative;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: background-color 0.3s ease;
}

.site-header:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav-left,
.header-nav-right {
    flex: 1;
}

.header-nav-left {
    display: flex;
    justify-content: flex-start;
}

.header-nav-right {
    display: flex;
    justify-content: flex-end;
}

.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-menu li {
    margin: 0;
}

.header-menu a {
    color: var(--nit-white);
    text-decoration: none;
    font-family: var(--nit-font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--nit-white);
    transition: width 0.3s ease;
}

.header-menu a:hover {
    color: var(--nit-beige);
}

.header-menu a:hover::after {
    width: 100%;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.logo-img {
    max-height: 60px;
    width: auto;
    height: auto;
    max-width: 200px;
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }
    
    .header-menu {
        gap: 1.5rem;
    }
    
    .header-logo {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-nav-left,
    .header-nav-right {
        justify-content: center;
    }
    
    .header-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .header-logo {
        padding: 0;
        order: -1;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--nit-black);
    color: var(--nit-white);
    overflow: hidden;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-title {
    font-family: var(--nit-font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--nit-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--nit-font-sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--nit-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-cta {
    background-color: var(--nit-beige);
    color: var(--nit-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background-color: var(--nit-beige);
    color: var(--nit-text-dark);
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 4rem;
}

.about-copy {
    font-family: var(--nit-font-sans);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--nit-text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.about-copy p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    font-family: var(--nit-font-sans);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--nit-text-dark);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--nit-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    margin-top: 4rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: var(--nit-white);
    color: var(--nit-text-dark);
    padding: 8rem 0;
}

.section-title {
    font-family: var(--nit-font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--nit-text-dark);
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .services-grid.services-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background-color: var(--nit-white);
    border: 1px solid #e5e5e5;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: var(--nit-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--nit-text-dark);
    letter-spacing: -0.02em;
}

.service-description {
    font-family: var(--nit-font-sans);
    color: var(--nit-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
    flex-grow: 1;
}

.service-description p {
    margin-bottom: 0;
}

.service-price {
    font-family: var(--nit-font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--nit-text-dark);
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

/* ==========================================================================
   Weddings Section
   ========================================================================== */

.weddings-section {
    background-color: var(--nit-white);
    color: var(--nit-text-dark);
    padding: 8rem 0;
}

.weddings-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--nit-font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--nit-text-light);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    background-color: var(--nit-brown);
    color: var(--nit-white);
    padding: 8rem 0;
}

.gallery-title {
    color: var(--nit-white);
    margin-bottom: 4rem;
}

.gallery-slideshow-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--nit-black);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    overflow: hidden;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--nit-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.gallery-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-indicator.active {
    background: var(--nit-white);
    border-color: var(--nit-white);
}

.gallery-indicator:hover {
    border-color: var(--nit-white);
    background: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-section {
    background-color: var(--nit-white);
    color: var(--nit-text-dark);
    padding: 8rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.blog-post-item {
    background-color: var(--nit-white);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #d0d0d0;
}

.blog-post-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f5f5f5;
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.blog-post-image-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.blog-post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-title {
    font-family: var(--nit-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--nit-text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--nit-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.blog-post-title a:hover {
    color: var(--nit-text-light);
}

.blog-post-meta {
    font-family: var(--nit-font-sans);
    font-size: 0.875rem;
    color: var(--nit-text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.blog-post-excerpt {
    font-family: var(--nit-font-sans);
    color: var(--nit-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 0.9375rem;
    flex-grow: 1;
}

.blog-post-link {
    font-family: var(--nit-font-sans);
    color: var(--nit-text-dark);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-post-link::after {
    content: '→';
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-post-link:hover {
    color: var(--nit-text-light);
}

.blog-post-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   Footer CTA Section
   ========================================================================== */

.footer-cta-section {
    background-color: var(--nit-black);
    color: var(--nit-white);
    padding: 8rem 0 4rem;
}

.footer-cta-content {
    text-align: center;
    margin-bottom: 4rem;
}

.footer-cta-title {
    font-family: var(--nit-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--nit-white);
    letter-spacing: -0.02em;
}

.footer-cta-button {
    background-color: var(--nit-beige);
    color: var(--nit-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    font-family: var(--nit-font-sans);
    font-size: 0.875rem;
}

.contact-item {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--nit-white);
}

.footer-copyright {
    font-family: var(--nit-font-sans);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright p {
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-controls {
        flex-wrap: wrap;
    }
}
