/* ========== YBBeauty Inspired Professional Styles ========== */

:root {
    --primary: #2E8B57;
    --secondary: #228B22;
    --gold: #d4af37;
    --gold-light: #f1c95a;
    --dark-bg: #1a1a1a;
    --darker-bg: #111;
    --footer-gradient: linear-gradient(to right, #1a1a1a, #2d2d2d);
    --nav-gradient: linear-gradient(90deg, #000000 0%, #111111 50%, #1a1a1a 100%);
    --header-height: 88px;
    --header-height-mobile: 70px;
    --header-height-small: 60px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-top: 0;
}

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

/* ========== PROFESSIONAL HEADER WITH PERFECT LOGO ALIGNMENT ========== */
header {
    background: var(--nav-gradient) !important;
    padding: 0 !important;
    margin: 0 !important;
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 8px !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100% !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Logo container - perfect vertical centering */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: -10px;
    height: 100% !important;
    padding: 0 !important;
}

/* Logo image - perfectly centered with no gaps */
.logo img {
    height: calc(var(--header-height) - 8px) !important;
    width: auto;
    max-height: calc(var(--header-height) - 8px) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06)) drop-shadow(0 0 6px rgba(212,175,55,0.06));
    object-fit: contain;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Text container - perfectly aligned */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-text .fs-3 {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.amharic-subtitle {
    color: var(--gold) !important;
    font-style: italic;
    font-size: 0.9rem !important;
    opacity: 0.95;
    line-height: 1.2 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

/* Desktop Navigation - perfectly centered */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.3rem;
    height: 100%;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    transition: all 0.3s ease;
    border-radius: 30px;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 70%;
}

.nav-link:hover {
    color: var(--gold) !important;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ========== PROFESSIONAL HAMBURGER MENU STYLES ========== */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    outline: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-btn:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Animation for X when open */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Menu - Mobile */
.nav-menu {
    transition: all 0.3s ease;
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Animation delays for menu items */
.nav-item:nth-child(1) { --item-index: 1; }
.nav-item:nth-child(2) { --item-index: 2; }
.nav-item:nth-child(3) { --item-index: 3; }
.nav-item:nth-child(4) { --item-index: 4; }
.nav-item:nth-child(5) { --item-index: 5; }
.nav-item:nth-child(6) { --item-index: 6; }
.nav-item:nth-child(7) { --item-index: 7; }

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
}

.carousel-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-slide {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    animation: kenburns 12s ease-in-out infinite;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    z-index: 3;
    color: white;
    width: 80%;
    max-width: 800px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-overlay h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.carousel-overlay p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s 0.2s ease-out both;
}

.carousel-overlay .btn {
    animation: fadeInUp 1s 0.4s ease-out both;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    padding: 0.8rem 2.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.carousel-control:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* ========== RESPONSIVE STYLES - PROFESSIONAL BREAKPOINTS ========== */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 80px;
    }
    
    .header-content {
        position: relative;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        padding: 100px 2rem 2rem;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
        transition-delay: calc(0.1s * var(--item-index));
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-link {
        display: block;
        padding: 1rem !important;
        text-align: center;
        font-size: 1.1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }
    
    .nav-link:hover {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--gold);
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-menu::-webkit-scrollbar {
        width: 5px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 10px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-overlay {
        padding: 1.5rem;
        width: 90%;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .carousel-control.prev {
        left: 15px;
    }
    
    .carousel-control.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .logo {
        margin-left: -5px;
        gap: 8px;
    }
    
    .logo img {
        height: calc(var(--header-height) - 10px) !important;
        max-height: calc(var(--header-height) - 10px) !important;
    }
    
    .logo-text .fs-3 {
        font-size: 1.2rem !important;
    }
    
    .amharic-subtitle {
        font-size: 0.8rem !important;
    }
    
    .nav-menu {
        width: 280px;
        padding: 90px 1.5rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-checkbox-label {
        padding: 1rem 1.2rem;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .checkmark {
        width: 24px;
        height: 24px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 60px;
    }
    
    .logo {
        gap: 5px;
    }
    
    .logo img {
        height: calc(var(--header-height) - 8px) !important;
        max-height: calc(var(--header-height) - 8px) !important;
    }
    
    .logo-text .fs-3 {
        font-size: 1rem !important;
    }
    
    .amharic-subtitle {
        font-size: 0.7rem !important;
    }
    
    .nav-menu {
        width: 100%;
        padding: 80px 1rem 2rem;
    }
    
    .nav-link {
        padding: 0.8rem !important;
        font-size: 1rem;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-overlay {
        padding: 1rem;
        width: 95%;
    }
    
    .carousel-overlay h1 {
        font-size: 1.5rem;
    }
    
    .carousel-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .carousel-overlay .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .service-box {
        margin-bottom: 1rem;
    }
}

/* ========== SECTION TITLES ========== */
.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    position: relative;
    color: #333;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 10px auto;
    border-radius: 2px;
}

/* ========== SERVICES GRID ========== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.box-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.box-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.box-content {
    padding: 1.5rem;
    flex-grow: 1;
}

/* Service Features List */
.service-features-list {
    list-style: none;
    padding: 0;
}

.service-features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-features-list li i {
    color: var(--gold);
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #b8960c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #000;
}

.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #b8960c;
    border-color: #b8960c;
}

/* ========== FOOTER ========== */
footer {
    background: var(--footer-gradient) !important;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

footer h5 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.35rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

footer a:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

footer .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    margin: 0;
}

footer .social-icons a:hover {
    transform: translateY(-5px);
    background: var(--gold);
    color: #000 !important;
}

/* Subscribe form in footer */
footer .input-group {
    max-width: 300px;
}

footer .input-group .form-control {
    border-radius: 5px 0 0 5px;
    border: none;
    height: 38px;
}

footer .input-group .btn {
    border-radius: 0 5px 5px 0;
    background: var(--gold);
    color: #000;
    padding: 0.375rem 1rem;
    height: 38px;
    display: flex;
    align-items: center;
}

footer .input-group .btn:hover {
    background: #b8960c;
}

/* Copyright section */
footer .border-top {
    border-color: rgba(255,255,255,0.1) !important;
}

footer .text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

/* ========== BOOKING FORM ========== */
.booking-section {
    background: #e8f5e8;
    padding: 4rem 0;
    border-radius: 10px;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(212,175,55,0.3);
}

select[multiple] {
    height: auto;
    min-height: 120px;
}

.submit-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    font-size: 1rem;
}

.submit-btn:hover {
    background: #b8960c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Professional Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.service-checkbox-item {
    position: relative;
    transition: all 0.3s ease;
}

.service-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.service-checkbox-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-checkbox-label:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.15);
    background: #fffcf5;
}

.service-checkbox-label:hover::before {
    transform: scaleY(1);
}

.service-checkbox:checked + .service-checkbox-label {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fff9e6, #fff);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.2);
}

.service-checkbox:checked + .service-checkbox-label::before {
    transform: scaleY(1);
    background: var(--gold);
    width: 6px;
}

.service-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 0.5rem;
}

.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8e8e8;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-checkbox:checked + .service-checkbox-label .checkmark {
    background: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.checkmark i {
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.service-checkbox:checked + .service-checkbox-label .checkmark i {
    opacity: 1;
    transform: scale(1);
    animation: checkPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.selected-count {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* ========== ADMIN DASHBOARD ========== */
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.admin-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.admin-nav a {
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.admin-nav a:hover {
    background: #b8960c;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background: var(--gold);
    color: #000;
}

/* Admin card */
.admin-card {
    border-left: 5px solid var(--gold);
}

/* ========== ALERTS ========== */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========== UTILITIES ========== */
main {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== ADMIN SIDEBAR FIXES ========== */
.nav-link {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.bg-dark {
    overflow-y: auto !important;
    max-height: 100vh;
}

a[href*="blocked"] {
    border-left: 4px solid #d4af37 !important;
    background-color: rgba(212, 175, 55, 0.1) !important;
    font-weight: bold !important;
}
