/*
 * Kayra Casanova Pantyhose - Premium Website Styles
 * Modern, elegant, responsive design with SEO optimizations
 */

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #9E7BB5;      /* Purple/Lavender */
    --secondary-color: #D8BFD8;    /* Lighter Purple */
    --accent-color: #FFD700;       /* Gold Accent */
    --dark-color: #2C2C2C;         /* Almost Black */
    --light-color: #F8F6F9;        /* Off-White */
    --text-color: #3A3A3A;         /* Dark Gray for Text */
    --border-color: #E0E0E0;       /* Light Gray for Borders */
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Other Variables */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --radius: 4px;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.2;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.2rem;
    margin-left: 12px;
    margin-bottom: 0;
    letter-spacing: 2px;
    color: var(--dark-color);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero h2::after {
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Collection Section */
.collection {
    background-color: #fff;
    text-align: center;
}

.collection > .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.collection h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 300px;
    background-color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.product-image.placeholder::after {
    content: 'Kayra Casanova';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    opacity: 0.7;
}

.product-card h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    padding: 0 15px;
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
    padding: 0 15px;
}

.price {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background-color: var(--light-color);
    text-align: center;
}

.features h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Story Section */
.story {
    background-color: #fff;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.story h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Entertainment Section */
.entertainment {
    background-color: var(--light-color);
    text-align: center;
}

.entertainment h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.entertainment > .container > p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}

.resource-column {
    display: flex;
    flex-direction: column;
}

.resource-column a {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.resource-column a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.resource-column a:hover {
    transform: translateX(5px);
}

.resource-column a:hover::before {
    color: var(--accent-color);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.newsletter h2 {
    color: white;
}

.newsletter h2::after {
    background-color: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
}

.newsletter p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 20px;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact h2 {
    text-align: center;
}

.contact h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact > .container > p {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--body-font);
    transition: var(--transition);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item p {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo svg {
    margin-bottom: 15px;
}

.footer-logo p {
    margin-bottom: 0;
    letter-spacing: 1px;
    font-size: 1rem;
}

.footer-links h3,
.footer-social h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

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

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

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

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

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

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

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

/* Social Icons using Unicode - For demo purposes */
.icon {
    font-style: normal;
    font-family: "Font Awesome 5 Brands";
}

/* Responsive Design */
@media (max-width: 1024px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .nav-toggle-label {
        display: flex;
        align-items: center;
        position: absolute;
        top: 0;
        right: 20px;
        height: 100%;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--dark-color);
        height: 2px;
        width: 25px;
        position: relative;
        transition: var(--transition);
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .product-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: var(--radius);
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
