/* Basic Reset & Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Orbitron:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light grey for text, contrasts well with dark background */
    background: url('img/background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    /*background: linear-gradient(135deg, #1A0033, #00004D);*/ /* Deep cosmic gradient */
    min-height: 100vh;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 0, 30, 0.5); /* Slightly transparent dark cosmic */
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Orbitron', sans-serif; /* Futuristic font for the salon name */
    font-size: 2.5em;
    color: #BB86FC; /* A vibrant cosmic purple */
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.7);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #82B1FF; /* A bright cosmic blue on hover */
    text-shadow: 0 0 8px rgba(130, 177, 255, 0.8);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
    background-color: rgba(10, 0, 30, 0.3); /* Dark purple, 60% opaque */
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    animation: fadeIn 2s ease-in-out;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #BB86FC;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background-color: #BB86FC; /* Cosmic purple button */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
}

.btn:hover {
    background-color: #82B1FF; /* Cosmic blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(130, 177, 255, 0.7);
}

/* Placeholder Sections for content */
.section-placeholder {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(10, 0, 30, 0.2); /* Slightly lighter dark background for sections */
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); /* Add a subtle blur effect */
    -webkit-backdrop-filter: blur(5px);
}

.section-placeholder h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    color: #82B1FF; /* Cosmic blue for section titles */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(130, 177, 255, 0.7);
}

.section-placeholder p {
    font-size: 1.2em;
    color: #B0B0B0;
}

/* Footer */
footer {
    background-color: rgba(10, 0, 30, 0.9);
    color: #A0A0A0;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive Design for Smaller Screens --- */

@media (max-width: 768px) {
    .container {
        width: 90%; /* Increase content width slightly on smaller screens */
        padding: 15px 0; /* Reduce vertical padding */
    }

    /* Header & Navigation Adjustments */
    header .container {
        flex-direction: column; /* Stack logo and nav vertically */
        text-align: center;
    }

    header h1 {
        font-size: 2em; /* Smaller logo text */
        margin-bottom: 15px; /* Add space below logo */
    }

    nav ul {
        flex-direction: column; /* Stack navigation links vertically */
        align-items: center; /* Center align links */
        width: 100%; /* Make list take full width */
    }

    nav ul li {
        margin: 10px 0; /* Adjust margin for vertical stacking */
    }

    nav ul li a {
        font-size: 1em; /* Slightly smaller nav links */
        padding: 8px 15px; /* Give links more tap area */
        background-color: rgba(0, 0, 0, 0.2); /* Add slight background for tap area */
        border-radius: 5px;
        display: block; /* Make the whole link area clickable */
    }

    /* Hero Section Adjustments */
    .hero {
        padding: 80px 0; /* Reduce padding for hero section */
    }

    .hero h2 {
        font-size: 2.5em; /* Smaller hero heading */
    }

    .hero p {
        font-size: 1.2em; /* Smaller hero paragraph */
    }

    .btn {
        padding: 12px 25px; /* Slightly smaller button */
        font-size: 1em;
    }

    /* Section Placeholder & Services Page Adjustments */
    .section-placeholder,
    .contact-section,
    .success-message-section {
        padding: 40px 15px; /* Reduce padding for content sections */
    }

    .section-placeholder h2,
    .contact-section h2 {
        font-size: 2.2em; /* Smaller section headings */
    }

    /* Service List Grid Adjustment */
    .service-list {
        grid-template-columns: 1fr; /* Force single column on small screens */
        gap: 20px; /* Adjust gap */
    }

    .service-item h4 {
        font-size: 1.3em; /* Smaller service item title */
    }

    /* Contact Form Adjustments */
    .contact-form {
        padding: 20px;
    }

    .form-group label {
        font-size: 1em; /* Smaller form labels */
    }

    .form-group input,
    .form-group textarea,
    .contact-form button {
        padding: 10px; /* Smaller input/button padding */
        font-size: 0.95em;
    }

    /* Footer Adjustments */
    footer {
        padding: 15px 0; /* Smaller footer padding */
    }

    footer p {
        font-size: 0.85em; /* Smaller footer text */
    }
}

/* Further adjustments for very small phones (optional, can remove if 768px is enough) */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 2em;
    }
    .section-placeholder h2,
    .contact-section h2 {
        font-size: 1.8em;
    }
    header h1 {
        font-size: 1.8em;
    }
}
