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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('onelineandsubtitBANNER.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #EBE2C6;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 2;
    margin-top: 250px;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #1C4620;
    font-weight: 950;
    transform: skew(-8deg);
    font-style: italic;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #666;
}

.welcome-text {
    font-size: 1rem !important;
    color: #888 !important;
    margin-top: 50px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    background: #1C4620;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 70, 32, 0.3);
}

.btn-primary:hover {
    background: #143419;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 70, 32, 0.4);
}

/* Footer logo styles */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Practitioners Section */
.practitioners {
    padding: 80px 0;
    background: #f8f9fa;
}

.practitioners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1C4620;
    font-weight: 900;
    transform: skew(-8deg);
}

.practitioners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.practitioner-card {
    background: #EBE2C6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.practitioner-photo {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.practitioner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.practitioner-info {
    padding: 30px;
    text-align: center;
}

.practitioner-info h3 {
    font-size: 1.5rem;
    color: #1C4620;
    margin-bottom: 10px;
    font-weight: bold;
}

.practitioner-info .title {
    color: #1C4620 !important;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.practitioner-info .specialty {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-doctolib {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1C4620;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-doctolib:hover {
    background: #143419;
}

.btn-doctolib img {
    height: 20px;
    width: auto;
}

/* Location Section */
.location {
    padding: 80px 0;
    background: white;
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1C4620;
    font-weight: 900;
    transform: skew(-8deg);
}

.map-container {
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cabinet-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.door-photo {
    text-align: center;
    height: 100%;
}

.door-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.opening-hours h3 {
    font-size: 1.8rem;
    color: #1C4620;
    margin-bottom: 30px;
    font-weight: 900;
    transform: skew(-8deg);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.day-name {
    font-weight: bold;
    color: #2c3e50;
}

.hours {
    color: #666;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1C4620;
    font-weight: 900;
    transform: skew(-8deg);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.photo-item {
    height: 250px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.photo-item:nth-child(2) {
    height: 400px;
}

.photo-item:nth-child(1),
.photo-item:nth-child(3) {
    height: 300px;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Footer */
.footer {
    background: #1C4620;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
}

.footer-section a:hover {
    color: #2980b9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    color: #bdc3c7;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    text-decoration: none;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
        background-size: 90%;
    }
    
    .hero-content {
        margin-top: 120px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .welcome-text {
        font-size: 0.9rem !important;
        max-width: 90% !important;
        padding: 0 15px !important;
        margin-top: 40px !important;
    }
    
    .practitioners h2, .location h2, .gallery h2 {
        font-size: 2rem;
    }
    
    .practitioners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cabinet-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        background-size: 95%;
    }
    
    .hero-content {
        margin-top: 80px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .welcome-text {
        font-size: 0.85rem !important;
        max-width: 95% !important;
        padding: 0 10px !important;
        margin-top: 35px !important;
    }
    
    .practitioners, .location, .gallery {
        padding: 60px 0;
    }
    
    .practitioner-info {
        padding: 20px;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.practitioner-card, .photo-item {
    animation: fadeInUp 0.6s ease forwards;
}

.practitioner-card:nth-child(2) {
    animation-delay: 0.2s;
}

.photo-item:nth-child(even) {
    animation-delay: 0.1s;
}

.photo-item:nth-child(3n) {
    animation-delay: 0.2s;
}
