/* Northern Aurora - Professional Esthetician & Artist Website */

/* Custom Fonts */
@font-face {
    font-family: 'Celestial';
    src: url('../fonts/celestial/Celestial-Clean.woff2') format('woff2'),
         url('../fonts/celestial/Celestial-Clean.woff') format('woff'),
         url('../fonts/celestial/Celestial-Clean.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Celestial Decorative';
    src: url('../fonts/celestial/Celestial-Decorative.woff2') format('woff2'),
         url('../fonts/celestial/Celestial-Decorative.woff') format('woff'),
         url('../fonts/celestial/Celestial-Decorative.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for easy theming */
:root {
    --primary-color: #5a7c7e;        /* Soft teal */
    --secondary-color: #a8c5c0;      /* Light sage */
    --accent-color: #d4a574;         /* Warm gold */
    --text-dark: #2c3e3f;            /* Deep teal-gray */
    --text-light: #ffffff;
    --background-light: #f8f9f7;     /* Off-white */
    --background-medium: #e8ede9;    /* Light sage background */
    --font-primary: 'Celestial', 'Lora', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

/* Header & Navigation */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-light);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--background-medium);
    color: var(--primary-color);
}

/* Navigation CTA Button (Book Now) */
.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(90, 124, 126, 0.3);
    white-space: nowrap;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 124, 126, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* CTA Buttons */
.cta-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.cta-button-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Styles */
section {
    margin-bottom: 4rem;
}

/* Scroll margin for anchor links to account for sticky header */
.service-category {
    scroll-margin-top: 60px;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

/* Cards & Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content .cta-button {
    margin-top: auto;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 124, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

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

.footer-section.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-section.contact-info svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-section.contact-info a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section.contact-info a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a svg {
    display: block;
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
}

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

/* Header Social Icons */
.nav-social {
    margin-left: -0.5rem;
}

.nav-social:last-child {
    margin-left: -15px;
}

.nav-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.3rem;
    transition: var(--transition);
}

.nav-social a:hover {
    opacity: 0.7;
}

.nav-social a svg {
    display: block;
}

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

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--background-medium);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--text-light);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: var(--background-medium);
        border-radius: 8px;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .nav-cta {
        text-align: center;
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    p {
        font-size: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 5rem 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Sticky Book Now Button */
.sticky-book-now {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.sticky-book-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 165, 116, 0.6);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(212, 165, 116, 0.7);
    }
}

@media (max-width: 768px) {
    .sticky-book-now {
        bottom: 20px;
        right: 20px;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
