/* PDS Photography Academy - Styles */
/* Palette: Noir Editorial - Elegant dark theme for photography */

:root {
    /* Colors */
    --color-bg: #0F0F0F;
    --color-surface: #1A1A1A;
    --color-surface-light: #2A2A2A;
    --color-text: #E8E4DF;
    --color-text-muted: #A39E93;
    --color-accent: #C8B8A0;
    --color-accent-dark: #8B7355;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

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

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

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.95), transparent);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    padding: 16px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 4px 12px;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(200, 184, 160, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 184, 160, 0.05) 0%, transparent 40%),
        var(--color-bg);
    padding: 120px 24px;
}

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

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--color-surface-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.light {
    color: var(--color-white);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-description {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-surface-light);
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
}

.badge-new {
    background-color: #4CAF50;
}

.course-card h3 {
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 12px;
    padding: 30px 30px 0;
}

.course-duration {
    font-size: 13px;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 30px;
    margin-bottom: 16px;
}

.course-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    padding: 0 30px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.course-features {
    list-style: none;
    padding: 0 30px;
    margin-bottom: 30px;
}

.course-features li {
    font-size: 14px;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-top: 1px solid var(--color-surface-light);
}

.course-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-accent);
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

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

.gallery-item {
    position: relative;
    background: var(--color-surface-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%232A2A2A" width="400" height="300"/><text fill="%23555" font-family="sans-serif" font-size="20" x="50%" y="50%" text-anchor="middle">Photo</text></svg>');
    background-size: cover;
    background-position: center;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 14px;
    color: var(--color-accent);
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature {
    display: flex;
    gap: 20px;
    text-align: left;
}

.feature-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: var(--color-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-surface-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--color-accent);
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--color-surface-light);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-surface-light);
    border-radius: 6px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

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

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

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-surface-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-surface-light);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.wide {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 250px);
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }