/* 
  Nuthurst Grange Luxury Weddings - Design System
  Palette: Ivory, Champagne, Gold, Deep Green (Minimal)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-ivory: #FDFCF8;
    --color-champagne: #F2EEE4;
    --color-warm-beige: #E5E0D5;
    --color-gold: #C5A059;
    --color-neutral-dark: #2D2D2D;
    --color-text-muted: #5A5A5A;
    --color-overlay: rgba(45, 45, 45, 0.4);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

p {
    font-weight: 300;
    color: var(--color-text-muted);
}

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

ul {
    list-style: none;
}

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

/* --- Layout Utilities --- */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-gold);
    color: white;
}

.btn-primary:hover {
    background-color: #B48E45;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-neutral-dark);
}

/* --- Navigation --- */

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

nav.sticky {
    position: fixed;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

nav .logo img {
    height: 60px;
    transition: var(--transition-smooth);
}

nav.sticky .logo img {
    filter: none;
}

nav .nav-links {
    display: flex;
    gap: 3rem;
}

nav .nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav.sticky .nav-links a {
    color: var(--color-neutral-dark);
}

/* --- Hero Section --- */

.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(var(--color-overlay), var(--color-overlay)), url('assets/hero-wedding.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- Intro Section --- */

.intro {
    background-color: var(--color-ivory);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.intro-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.intro-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

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

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Experience Section --- */

.experience {
    background-color: var(--color-champagne);
}

.experience h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.experience .subtitle {
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.venue-card {
    background: white;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.venue-img {
    height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.venue-card:hover .venue-img img {
    transform: scale(1.05);
}

.venue-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.venue-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* --- Timeline Section --- */

.timeline-section {
    background-color: var(--color-ivory);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-champagne);
}

.timeline-item {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--color-gold);
}

/* --- Forms --- */

.enquiry-section {
    background-color: var(--color-champagne);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-md);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E2E2;
    background: #F9F9F9;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: white;
}

/* --- Footer --- */

footer {
    background-color: var(--color-neutral-dark);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 2rem;
}

.footer-links h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--color-gold);
}

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: white;
}

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

/* --- Responsive --- */

@media (max-width: 1024px) {
    .intro-grid, .venue-grid, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .intro-grid, .venue-grid, .footer-grid, .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    nav .nav-links {
        display: none;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-dot {
        left: 0;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 2rem;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
}
