/*
 * Mary Betox - Elegant Beauty & Cosmetic Treatments Website
 * Custom CSS with sophisticated design
 */

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

:root {
    /* Color Palette */
    --gold: #D4AF37;
    --gold-light: #E5C76B;
    --dark: #333333;
    --dark-accent: #444444;
    --light: #FFFFFF;
    --light-accent: #F8F8F8;
    --text: #333333;
    --text-light: #777777;
    --accent: #B76E79;
    
    /* Typography */
    --heading-font: 'Cinzel', serif;
    --body-font: 'Raleway', sans-serif;
    
    /* Other Variables */
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --radius: 4px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 500;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--gold);
}

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

p {
    margin-bottom: 1.2rem;
    color: var(--text);
}

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

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

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

section {
    padding: 100px 0;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.primary-btn {
    background-color: var(--gold);
    color: var(--light);
    border: 2px solid var(--gold);
}

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

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

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

.btn-nav {
    background-color: var(--gold);
    color: var(--light);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.btn-nav:hover {
    background-color: var(--gold-light);
}

/* Header & Navigation */
header {
    background-color: var(--light);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
}

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

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

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

.nav-toggle {
    display: none;
}

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

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

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

nav ul li a {
    color: var(--dark);
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

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

nav ul li a:hover {
    color: var(--gold);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://via.placeholder.com/1920x1080?text=Mary+Betox') center/cover no-repeat;
    color: var(--light);
    text-align: center;
    margin-top: 0;
    position: relative;
}

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

.hero h2 {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 20px;
}

.hero h2::after {
    background-color: var(--light);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Treatments Section */
.treatments {
    background-color: var(--light);
}

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

.treatment-card {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.treatment-icon {
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 2.5rem;
}

.treatment-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.treatment-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: var(--light-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 50px;
    align-items: center;
}

.about h2 {
    text-align: left;
}

.about h2::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 20px;
}

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

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

.feature-icon {
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: 10px;
}

.about-quote {
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

blockquote {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 25px;
    border-left: 3px solid var(--gold);
}

cite {
    display: block;
    font-style: normal;
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

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

.testimonial {
    background-color: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    position: relative;
    padding-left: 25px;
    margin-bottom: 25px;
    border-left: 3px solid var(--gold);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.treatment {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

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

.resource-column a {
    margin-bottom: 12px;
    padding: 10px 15px;
    background-color: var(--light);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text);
}

.resource-column a:hover {
    background-color: var(--gold-light);
    color: var(--dark);
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

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

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

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

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

.info-item h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-item p {
    margin-bottom: 5px;
    color: var(--text-light);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 40px;
}

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

.footer-logo p {
    margin: 15px 0 0;
    color: var(--light);
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    min-width: 150px;
}

.footer-column h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

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

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-quote {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        height: 22px;
        width: 30px;
        position: relative;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        height: 2px;
        width: 30px;
        background-color: var(--dark);
        position: absolute;
        transition: var(--transition);
    }
    
    .nav-toggle-label span {
        top: 10px;
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        top: 8px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--light);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 80%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        align-items: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .treatment-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
