/*
Theme Name: Bella
Author: Mohamed
Version: 1.0
*/


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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #666;
    background-color: #cdc5ba;
}

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

/* Navigation - Exact Match */
.navbar {
    background: #cdc5ba;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 0; /* height of header */
    box-shadow:none; /* 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

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

.logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Colorful Navigation Buttons - Exact Match */
.nav-home { background: #585856; } 
.nav-about { background: #585856; } 
.nav-gallery { background: #585856; } 
.nav-doctors { background: #585856; } 
/*.nav-services { background: #585856; } commenting out Teal */
.nav-contact { background: #585856; } 

.nav-menu a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #666;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - Exact Match */
.hero {
    min-height: 100vh; /* it was height only before*/
    overflow: visible; /* a new line to make logo biggger*/
    background: #cdc5ba;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('Asset18.jpg');
    background-size: cover;
    background-position: center;
}

/* Large B Logo Background - Exact Match */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 730px;
    height: 730px;
    background-image: url('bella_logo_b.jpg');
    background-size: contain; /* it was container before*/
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    background: transparent;
    position: relative; /* new line after removing white background rectangle */
    z-index: 2; /* new line after removing white background rectangle */
    
    /*startcomment max-width: 600px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.0);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2; endcomment, commenting out white rectange behind book appointment */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #666;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #999;
}

.book-btn {
    background: #585856;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #cdc5ba;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 88, 86, 0.4); /*book appointment shaddow color*/
}

/* Section Styling - Exact Match */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #999;
}
/* Add space before About Us section */
.about {
    margin-top: 100px; /* Creates clear separation from hero */
    padding: 80px 0;
    position: relative;
}


/* About Section - Exact Match 
.about {
     background: url('about_bg2.jpg') center center / cover no-repeat;
    Changed from cover to contain to preserve the full image 
  padding: 100px 20px;      /* Add side padding to contain the image */
 /* max-width: 1200px;        /* Aligns with .container and grid widths */
 /* margin: 0 auto;           /* Centers the entire section within the page */
 /* position: relative;
 /* color: white;
} */

/* About Us Section - Completely Separate from Hero */
/* Complete About Us - Fully consistent with site */
.about {
    background: white;
    margin-top: 0;
    padding: 80px 0; /* Match other sections */
    position: relative;
}

.about .container {
    background-image: url('about_bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 60px 40px;
    margin: 0 auto;
    max-width: 1180px; /* Or your preferred width */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Match site shadows */
}

/* Light overlay for readability */
.about .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3); /* Light overlay for dark text */
    border-radius: 15px;
    z-index: 1;
}

/* Content styling */
.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Consistent typography */
.about .section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    font-family: 'Arial', sans-serif;
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #999;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
}




/* Services Section - Exact Match */
.services {
    background: white;
}

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

.service-card {
    background: #Cdc5ba;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Doctors Section - Exact Match */
.doctors {
    background: #cdc5ba;
}

.doctors-grid {
    /*below is new edition to make doctor grid centered aligned after decreasing size - auto size of doctor drid with this and manual with next one */
    display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 2rem; /*space between doctor grids)
  /* centers cards horizontally (old one) with manual size
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
    gap: 2rem;
    justify-content:center; */
    
}

.doctor-card {
    max-width: 260px; /* smaller max width */
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-image {
    width: 100%;
    height: 250px;
    background: #999;
    overflow: hidden;
    position: relative;
}

.doctor-image img {
    width: 100%;
    height: 120%;
    object-fit: cover; /* it was cover before*/
    object-position: top center; /* keeps focus in center */
    transform: scale(1.4);   /* <--- force zoom (1.2 = 120%) */
}

.doctor-info {
    padding: 0.4rem 0.5rem; /* reduced from 0.8rem 1rem */
    text-align: center;
}

.doctor-info h3 {
    font-size: 1rem; /* was 1.2rem */
    color: #666;
    margin-bottom: 0.3rem; /* was 1.2rem */
    font-weight: 600;
}

.doctor-info p {
    color: #999;
    margin-bottom: 0.5rem; /* 1rem */
}

/* Colored Book Now Buttons - Exact Match */
.book-now-btn {
    padding: 6px 16px; /* was 8px 20px */
    border: none;
    border-radius: 20px;
    font-size: 0.85rem; /* was 0.9rem */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.btn-purple { background: #585856; }
.btn-orange { background: #585856; }
.btn-green { background: #585856; }
.btn-red { background: #585856; }

.book-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery Section - Exact Match */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-grid .gallery-item:nth-child(5),
.gallery-grid .gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #999;
}

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

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

/* Contact Section - Exact Match */
.contact {
    background: #cdc5ba;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Colorful Form Inputs - Exact Match */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
    color: #666;
}

.form-input-purple { border-color: #9C27B0; }
.form-input-orange { border-color: #FF9800; }
.form-input-green { border-color: #4CAF50; }
.form-input-red { border-color: #F44336; }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-width: 3px;
}

.form-submit-btn {
    background: #666;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit-btn:hover {
    background: #555;
}

/* Footer - Exact Match */
.footer {
    background: #4A4A4A;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close:hover {
    color: #666;
}

.modal-content h3 {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.dept-btn,
.booking-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.dept-btn {
    background: #585856; /*colors of dental & derma departments */
}

.dept-btn:hover {
    background: #585856; /*colors of dental & derma departments */
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1DA851;
}

.phone-btn {
    background: #007CBA;
}

.phone-btn:hover {
    background: #005A87;
}

.website-btn {
    background: #666;
}

.website-btn:hover {
    background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        gap: 0;
        padding: 2rem 0;
    }



    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        margin: 0 2rem;
        border-radius: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    /* Adjust B logo size for mobile */
    .hero::before {
        width: 400px; /* it removes the restrictions for logo to grow bigger*/
        height: 400px; /* it removes the restrictions for logo to grow bigger*/
        opacity: 0.07; /* dimmness of logo B*/
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid .gallery-item:nth-child(5),
    .gallery-grid .gallery-item:nth-child(6) {
        grid-column: span 1;
    }
    
    .modal-content {
        margin: 30% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .book-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

