/* ========================================
   SCORTANU BEAUTY & ACADEMY - MAIN STYLES
   ======================================== */

:root {
    --primary-color: #d4af37;
    --secondary-color: #2c2c2c;
    --accent-color: #e8d5b7;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f7f4;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.language-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: 2px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: var(--bg-white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #c9a227;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 80px 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.service-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-duration {
    color: var(--text-light);
    font-size: 14px;
}

.service-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: #c9a227;
}

/* ========================================
   COURSES SECTION
   ======================================== */

.courses {
    background-color: var(--bg-white);
}

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

.course-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.course-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #8b7355, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.course-trainer {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.course-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.course-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.course-duration {
    color: var(--text-light);
    font-size: 14px;
}

.course-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background-color: #c9a227;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background-color: var(--bg-light);
}

.contact-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 30px 20px;
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-hover);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

#booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#booking-form input,
#booking-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

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


/* ========================================
   CATEGORY FILTER
   ======================================== */

.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background-color: transparent;
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.service-category {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: capitalize;
}

/* ========================================
   NAVBAR LOGO
   ======================================== */
.navbar-logo {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}
.navbar-logo:hover {
    transform: scale(1.05);
}
.navbar-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* ========================================
   CONTACT WRAPPER
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}
.contact-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.contact-info-item a:hover {
    text-decoration: underline;
}

/* ========================================
   MAP CONTAINER
   ======================================== */
.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 10px;
}
.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .navbar-logo {
        height: 42px;
    }
}
