/*
Theme Name: Sacred Moments - Christening Photography
Theme URI: https://sacredmomentsphotography.com
Description: Professional christening and baptism photography landing page theme for NYC tri-state area. Complete with contact form, portfolio gallery, FAQ, and SEO optimization.
Version: 1.0.0
Author: Sacred Moments Photography
Author URI: https://sacredmomentsphotography.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sacred-moments
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #3d3d3d;
    background-color: #faf8f5;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: #f5f0eb;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c85a3a;
    font-family: Georgia, serif;
}

nav a {
    text-decoration: none;
    color: #3d3d3d;
    transition: color 0.3s ease;
    margin: 0 2rem;
}

nav a:hover {
    color: #c85a3a;
}

.btn-cta {
    background-color: #c85a3a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
}

.btn-cta:hover {
    background-color: #b04a2f;
    box-shadow: 0 4px 12px rgba(200, 90, 58, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #c85a3a;
    padding: 0.75rem 1.5rem;
    border: 2px solid #c85a3a;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: #c85a3a;
    color: white;
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
    width: 3rem;
    height: 0.25rem;
    background-color: #c85a3a;
    margin-bottom: 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-text h1 {
    font-size: 3rem;
    font-family: Georgia, serif;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-family: Georgia, serif;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   CARDS GRID
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.services-image img,
.moments-image img,
.details-image img,
.celebration-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.services-text h2,
.moments-text h2,
.details-text h2,
.celebration-text h2 {
    font-size: 2.5rem;
    font-family: Georgia, serif;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.services-text p,
.moments-text p,
.details-text p,
.celebration-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    color: #3d3d3d;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   MOMENTS GRID
   ============================================ */

.moments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* ============================================
   DETAILS GRID
   ============================================ */

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.details-image {
    order: -1;
}

@media (max-width: 768px) {
    .details-image {
        order: 0;
    }
}

/* ============================================
   CELEBRATION GRID
   ============================================ */

.celebration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e5e5;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #c85a3a;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(200, 90, 58, 0.2);
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-badge {
    color: #c85a3a;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.pricing-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #c85a3a;
    margin: 1.5rem 0;
    font-weight: bold;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

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

.pricing-card .btn-cta {
    width: 100%;
    margin-top: 1.5rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #c85a3a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-question {
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #c85a3a;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    color: #666;
    margin-top: 1rem;
    display: none;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c85a3a;
    box-shadow: 0 0 0 3px rgba(200, 90, 58, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: #c85a3a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: #b04a2f;
    box-shadow: 0 4px 12px rgba(200, 90, 58, 0.3);
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

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

footer a:hover {
    color: white;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        margin: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-cta,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #c85a3a;
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    nav,
    footer {
        display: none;
    }

    body {
        background-color: white;
    }

    section {
        page-break-inside: avoid;
    }
}
