/* ============================================
   WEDDING PHOTOGRAPHY PORTFOLIO
   Main Stylesheet
   ============================================ */

/* ========== CSS VARIABLES ========== */
/* Change these to customize your color scheme */
:root {
    /* Primary Colors */
    --color-cream: #FAF8F5;
    --color-warm-white: #FDFCFA;
    --color-charcoal: #2C2C2C;
    --color-soft-black: #1A1A1A;
    
    /* Accent Colors */
    --color-sage: #8B9A7D;
    --color-dusty-rose: #C4A4A4;
    --color-gold: #B8956E;
    --color-taupe: #9C8D7E;
    
    /* Text Colors */
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #8A8A8A;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 80px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-taupe);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-charcoal);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--color-sage);
}

/* ========== NAVIGATION ========== */
.navbar {
    padding: 24px 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    padding: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-charcoal);
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary) !important;
    padding: 8px 16px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--color-sage);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-charcoal) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ========== CHANGE YOUR HERO BACKGROUND IMAGE HERE ========== */
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(26, 26, 26, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 300;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ========== BUTTONS ========== */
.btn-elegant {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid var(--color-charcoal);
    background: transparent;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-elegant:hover {
    background: var(--color-charcoal);
    color: var(--color-cream);
}

.hero .btn-elegant {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero .btn-elegant:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-charcoal);
}

.btn-elegant.btn-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-elegant.btn-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-charcoal);
}

.link-elegant {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-sage);
    border-bottom: 1px solid var(--color-sage);
    padding-bottom: 4px;
}

.link-elegant:hover {
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

/* ========== SECTIONS ========== */
.intro-section,
.featured-section,
.services-section,
.about-section,
.philosophy-section,
.credentials-section,
.testimonials-section,
.contact-section,
.gallery-section,
.faq-section {
    padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
    .intro-section,
    .featured-section,
    .services-section,
    .about-section,
    .philosophy-section,
    .credentials-section,
    .testimonials-section,
    .contact-section,
    .gallery-section,
    .faq-section {
        padding: var(--section-padding-mobile) 0;
    }
}

.intro-section {
    background: var(--color-warm-white);
}

.intro-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ========== FEATURED WORK ========== */
.featured-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.featured-item:hover .featured-img {
    transform: scale(1.05);
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-caption {
    font-family: var(--font-display);
    font-size: 20px;
    font-style: italic;
    color: #fff;
}

/* ========== SERVICES ========== */
.services-section {
    background: var(--color-warm-white);
}

.service-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-cream);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--color-sage);
    margin-bottom: 24px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--color-soft-black);
    text-align: center;
}

/* ========== PACKAGES SECTION ========== */
.packages-section {
    padding: var(--section-padding) 0;
    background: var(--color-cream);
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 18px;
    margin-top: -16px;
}

.package-card {
    background: var(--color-warm-white);
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.package-card.package-featured {
    border-color: var(--color-sage);
    background: var(--color-warm-white);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-sage);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    white-space: nowrap;
}

.package-header {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-taupe);
}

.package-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.package-price {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 300;
    color: var(--color-sage);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex: 1;
}

.package-features li {
    padding: 10px 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(156, 141, 126, 0.2);
    font-size: 15px;
}

.package-features li:last-child {
    border-bottom: none;
}

.btn-package {
    width: 100%;
    text-align: center;
}

.packages-note {
    color: var(--color-text-secondary);
    font-size: 16px;
}

.cta-section.cta-light {
    background: var(--color-sage);
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: var(--color-warm-white);
}

.page-title {
    font-size: clamp(40px, 6vw, 64px);
    color: var(--color-charcoal);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== GALLERY ========== */
.gallery-filter {
    padding: 40px 0;
    background: var(--color-cream);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 1px solid var(--color-taupe);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-charcoal);
    border-color: var(--color-charcoal);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: #fff;
}

/* ========== ABOUT PAGE ========== */
.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 1px solid var(--color-sage);
    z-index: -1;
}

.about-content {
    padding-left: 40px;
}

@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
}

.about-name {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--color-charcoal);
    margin-bottom: 32px;
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.about-signature {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    color: var(--color-sage);
    margin-top: 40px;
}

/* Philosophy */
.philosophy-section {
    background: var(--color-warm-white);
}

.philosophy-item {
    padding: 32px;
}

.philosophy-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.philosophy-text {
    color: var(--color-text-secondary);
    margin: 0;
}

/* Stats */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 300;
    color: var(--color-sage);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

/* Testimonials */
.testimonials-section {
    background: var(--color-cream);
}

.testimonial-card {
    background: var(--color-warm-white);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text-primary);
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    border-top: 1px solid var(--color-taupe);
    padding-top: 16px;
}

.author-name {
    display: block;
    font-weight: 500;
    color: var(--color-charcoal);
}

.wedding-date {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    background: var(--color-cream);
}

.contact-heading {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-intro {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-taupe);
    margin-bottom: 4px;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-charcoal);
}

a.contact-value:hover {
    color: var(--color-sage);
}

.social-links-contact {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.social-link-contact {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.social-link-contact:hover {
    color: var(--color-sage);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-warm-white);
    padding: 48px;
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-primary);
    background: var(--color-cream);
    border: 1px solid transparent;
    border-radius: 0;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--color-text-light);
}

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

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

.btn-submit {
    width: 100%;
    margin-top: 16px;
}

/* Form States */
.form-success,
.form-error {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-sage);
    margin: 0 auto 24px;
}

.success-title,
.error-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-text,
.error-text {
    color: var(--color-text-secondary);
}

/* FAQ */
.faq-section {
    background: var(--color-warm-white);
}

.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-taupe);
}

.accordion-item:first-child {
    border-top: 1px solid var(--color-taupe);
}

.accordion-button {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-charcoal);
    background: transparent;
    padding: 24px 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--color-sage);
    background: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-size: 12px;
    filter: brightness(0) saturate(100%);
}

.accordion-body {
    padding: 0 0 24px;
    color: var(--color-text-secondary);
}

/* ========== FOOTER ========== */
.site-footer {
    padding: 60px 0 40px;
    background: var(--color-soft-black);
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 20px;
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    color: #fff;
}

.footer-location {
    font-size: 13px;
}

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

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== GLIGHTBOX OVERRIDES ========== */
.glightbox-clean .gslide-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--color-cream);
        padding: 24px;
        margin-top: 16px;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 12px 0 !important;
    }
    
    .nav-link::after {
        left: 0;
        right: auto;
        width: 24px;
    }
}

/* ========== PLACEHOLDER IMAGES ========== */
/* Remove this section once you add your real images */
.hero {
    background-color: var(--color-taupe);
    background-image: linear-gradient(135deg, var(--color-taupe) 0%, var(--color-sage) 100%);
}

.featured-img,
.gallery-item img,
.about-image {
    background-color: var(--color-taupe);
    background-image: linear-gradient(135deg, #d4c5b5 0%, #a8b89e 100%);
}
