/* ============================================================
   FONTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Palatino', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f3ee;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c1810;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a0522d;
    text-decoration: underline;
}

/* ============================================================
   CONTAINER & UTILITIES
   ============================================================ */

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

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #8b4513;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #a0522d;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    flex: 1;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #2c1810;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #8b4513;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

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

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #2c1810;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8b4513;
}

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

.hero {
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(139, 69, 19, 0.7)), url('../images/url2.jpg') center/cover no-repeat;
    color: white;
    padding: 8rem 1.5rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
    padding: 4rem 1.5rem;
    background-color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.book-specializations {
    position: relative;
    display: inline-block;
    width: 100%;
}

.book-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spec-overlay {
    position: absolute;
    top: 45%;
    left: 42%;
    transform: translate(-50%, -50%) rotate(10deg);
    text-align: center;
    font-family: 'Allura', cursive;
    pointer-events: none;
    width: 40%;
    font-weight: 400;
}

.spec-overlay h3 {
    font-size: 3.2rem;
    color: #8b4513;
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.spec-overlay ul {
    list-style: none;
    font-size: 1.6rem;
    color: #353434;
}

.spec-overlay li {
    margin: 0.8rem 0;
    font-weight: 400;
}

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

.services {
    padding: 4rem 1.5rem;
    background-color: #f5f3ee;
}

.services h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.services-list li {
    padding: 1rem;
    background-color: white;
    border-left: 4px solid #8b4513;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

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

.contact {
    padding: 4rem 1.5rem;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info > h3 {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 1rem;
}

.info-block {
    padding: 1.5rem;
    background-color: #f5f3ee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-block h4 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.info-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.info-block a {
    color: #8b4513;
    font-weight: 500;
}

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

.footer {
    background-color: #2c1810;
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Header */
    .nav-container {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
        order: 2;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Hero */
    .hero {
        padding: 4rem 1.5rem;
        min-height: 350px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Sections */
    .about,
    .services,
    .contact {
        padding: 2rem 1.5rem;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Services */
    .services-list {
        grid-template-columns: 1fr;
    }

    .spec-overlay h3 {
        font-size: 2.2rem;
    }

    .spec-overlay ul {
        font-size: 1.3rem;
    }

    .spec-overlay li {
        margin: 0.6rem 0;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-info > h3 {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Logo */
    .logo h1 {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem;
        min-height: 300px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    /* CTA Button */
    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sections */
    .about,
    .services,
    .contact {
        padding: 1.5rem 1rem;
    }

    /* Spacing */
    .container {
        padding: 0 1rem;
    }

    .services-intro {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    body {
        background-color: white;
    }

    .header,
    .hamburger {
        display: none;
    }

    a {
        text-decoration: underline;
    }

    .cta-button {
        border: 1px solid #2c1810;
        color: #2c1810;
        background-color: transparent;
    }
}
