/* style.css - Complete stylesheet for Psychic Nuur website */

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

body {
    font-family: 'Libre Franklin', sans-serif;
    background-color: #f4f1ea;
    color: #1e2b1e;
    line-height: 1.6;
}

/* COLOR THEME */
:root {
    --green-black: #1f2e1f;
    --red-deep: #9e2a2b;
    --red-bright: #c0392b;
    --golden-light: #e5d9b5;
    --text-dark: #1e2b1e;
    --bg-light: #f9f7f0;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--red-deep);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--red-bright);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
}

/* ===== HEADER STYLES ===== */
.top-bar {
    background: var(--green-black);
    color: #e0b7b7;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: #e0b7b7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.top-bar-left a:hover {
    color: white;
}

.top-bar-left i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: #e0b7b7;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: var(--red-bright);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 80px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.2rem;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-black);
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--red-deep);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--green-black);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-item > a i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-item > a:hover {
    background: rgba(158, 42, 43, 0.08);
    color: var(--red-deep);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--gray-medium);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #444;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(158, 42, 43, 0.08);
    color: var(--red-deep);
    padding-left: 26px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 800px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--gray-medium);
}

.nav-item.mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--red-deep);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--red-deep);
    display: inline-block;
}

.mega-col a {
    display: block;
    padding: 6px 0;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.mega-col a:hover {
    color: var(--red-deep);
    padding-left: 5px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.phone-btn {
    background: var(--red-deep);
    color: white !important;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.phone-btn:hover {
    background: var(--green-black);
    transform: scale(1.02);
}

.emergency-badge {
    background: #f0f0f0;
    color: var(--red-deep);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--green-black);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid var(--gray-medium);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-mobile.open {
    display: block;
    max-height: 500px;
    overflow-y: auto;
}

.mobile-menu-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.mobile-menu-list > li {
    border-bottom: 1px solid var(--gray-medium);
}

.mobile-menu-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: var(--green-black);
    font-weight: 600;
    text-decoration: none;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 30px;
    background: #fafafa;
    display: none;
    margin: 0;
}

.mobile-dropdown-menu.open {
    display: block;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.mobile-dropdown-menu li a:hover {
    color: var(--red-deep);
}

/* ===== OLD STYLES KEPT FOR COMPATIBILITY ===== */
/* Section Titles */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    color: var(--green-black);
    border-bottom: 4px solid var(--red-deep);
    display: inline-block;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.service-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 25px -8px rgba(0,20,0,0.3);
    transition: 0.2s;
    border: 2px solid var(--green-black);
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-img {
    background-color: #3a4a3a;
    height: 160px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 0.8rem;
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 2px 2px 0 #000;
}

.card-content {
    padding: 1.2rem;
}

.card-content ul {
    list-style: none;
    margin-top: 0.8rem;
    padding: 0;
}

.card-content li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--red-deep);
}

.card-content li a {
    text-decoration: none;
    color: var(--green-black);
    font-weight: 500;
    display: block;
}

.card-content li a:hover {
    color: var(--red-bright);
    transform: translateX(5px);
}

.btn-small {
    background: var(--green-black);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-small:hover {
    background: var(--red-deep);
    color: white;
}

.btn-large {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--red-deep);
    color: white;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.btn-large:hover {
    background: var(--green-black);
    color: white;
}

/* About Section */
.about-section {
    background: #e8e0d0;
    padding: 2.5rem;
    border-radius: 60px 60px 0 0;
    margin: 3rem 0;
    border-left: 12px solid var(--red-deep);
}

.about-section h2 {
    font-size: 2rem;
}

.about-section strong {
    color: var(--red-deep);
}

/* Testimonials */
.testimony {
    font-style: italic;
    background: white;
    padding: 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Banner Section */
.banner-section {
    margin-bottom: 2rem;
    width: 100%;
}

/* Footer */
footer {
    background: var(--green-black);
    color: #ddd;
    padding: 2.5rem 0 1rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-widget h4 {
    color: white;
    border-bottom: 3px solid var(--red-deep);
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.footer-widget a {
    color: #e0b7b7;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.footer-widget a:hover {
    color: white;
}

.whatsapp-button {
    background: #25D366;
    color: black;
    font-weight: bold;
    padding: 0.8rem;
    border-radius: 40px;
    text-align: center;
    margin-top: 1rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #5e6e5e;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-item > a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .mega-menu {
        width: 700px;
    }
}

@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .emergency-badge {
        display: inline-block;
    }
    
    .header-wrapper {
        min-height: 70px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr !important;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-widget h4 {
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none;
    }
    
    .header-actions .phone-btn span {
        display: none;
    }
    
    .header-actions .phone-btn {
        padding: 8px 12px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Hide any conflicting floating contact buttons */
.floating-whatsapp,
.floating-call,
.sticky-call,
.sticky-whatsapp,
.sticky-contact-form,
.sticky-contact-simple,
[class*="floating-btn"],
[class*="float-contact"],
[class*="whatsapp-float"],
[class*="call-float"],
.whatsapp-chat,
.call-button-float {
    display: none !important;
}

/* Only show our professional sticky contact */
.sticky-contact-wrapper {
    display: block !important;
}