/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Root Variables ===== */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8b6f47;
    --dark-color: #2c2c2c;
    --light-color: #f8f8f8;
    --white: #ffffff;
    --gray: #e0e0e0;
    --text-color: #333333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    color: #666;
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0;
    display: inline-block;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background-size: cover;
    background-position: center -100px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.2);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.feature-card:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out backwards;
}

.feature-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Statistics Section ===== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    animation: scaleIn 0.6s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ===== Story Section ===== */
.story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.story-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.vision, .mission {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease-out backwards;
}

.vision {
    animation-delay: 0.2s;
}

.mission {
    animation-delay: 0.4s;
}

.vision h4, .mission h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.vision p, .mission p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
}

.service-card:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out backwards;
}

.service-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding: 20px 20px 0 20px;
}

.service-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card .btn-link {
    display: inline-block;
    padding: 0 20px 20px 20px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
}

.contact-info {
    animation: slideInLeft 0.6s ease-out;
}

.contact-form {
    animation: slideInRight 0.6s ease-out;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* ===== Contact Form ===== */
.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-form > p {
    margin-bottom: 25px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(212, 165, 116, 0.3);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Contact Map ===== */
.contact-map {
    margin-top: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.contact-map iframe {
    display: block;
    border-radius: var(--border-radius);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: var(--white);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 0;
        text-align: center;
        min-height: 400px;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .placeholder-image {
        width: 100%;
        max-width: 300px;
        height: 300px;
        font-size: 100px;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .services, .why-us, .story {
        padding: 60px 0;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .placeholder-image {
        width: 100%;
        height: 250px;
        font-size: 80px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}
