/*
Theme Name: Dance In Heels
Theme URI: https://danceinheels.es
Author: Antigravity
Description: A premium, empowering theme for Dance In Heels. Violet & Gold aesthetics.
Version: 1.0
text-domain: dance-in-heels
*/

/* GLOBAL VARIABLES & RESET */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F4C430;
    --color-violet-deep: #2E003E;
    --color-violet-vivid: #6A0DAD;
    --color-black: #050505;
    --color-dark-gray: #121212;
    --color-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    --spacing-section: 4rem;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-gradient {
    background: linear-gradient(45deg, var(--color-gold), #FFF8DC);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--spacing-section) 0;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.1em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* HERO */
.hero {
    height: 100vh;
    width: 100%;
    /* Background image set via inline style or separate rule using template uri in PHP */
    background-color: var(--color-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

.placeholder-box {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    border: 1px solid var(--color-violet-vivid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-violet-vivid);
    font-weight: 600;
    text-transform: uppercase;
}

/* CLASSES */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.class-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-violet-vivid);
}

.class-card.highlight h3 {
    color: var(--color-gold);
}

.price-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-left: 0.5rem;
}

.early-bird-badge {
    background: var(--color-gold);
    color: var(--color-black);
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 1rem;
    vertical-align: middle;
}

/* MERCH */
.merch-section {
    background: linear-gradient(to right, #0F0018, #050505);
    text-align: center;
    padding: 4rem 0;
}

.merch-subtitle {
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: 3rem;
}

.merch-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.merch-item {
    width: 300px;
    height: 350px;
    background: #111;
    border: 1px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.sorteo-box {
    border: 2px solid var(--color-violet-vivid);
    padding: 2rem;
    display: inline-block;
    margin-top: 2rem;
    background: rgba(106, 13, 173, 0.1);
    max-width: 600px;
}

/* CONTACT */
.contact-section {
    max-width: 600px;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-main);
    border-radius: 4px;
}

.form-group input:focus {
    border-color: var(--color-violet-vivid);
    outline: none;
}