/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #d4a574;
    --accent-blue: #3b82f6;
    --light-gray: #f1f5f9;
    --text-color: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-blue));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS & CTA
   ============================================ */

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c9915f 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.cta-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-mission {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    margin-top: 2rem;
}

.about-mission h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    background-color: var(--primary-color);
    color: var(--white);
}

.why-choose .section-header h2 {
    color: var(--white);
}

.why-choose .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-blue) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.benefit-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .cta-button {
    flex: 1;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #dbeafe;
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-blue);
}

.cta-highlight {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.cta-highlight .cta-button {
    width: 100%;
}

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-placeholder iframe {
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: left;
        transition: left 0.3s;
        gap: 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0 2rem;
    }

    .nav-menu li:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-cta {
        gap: 1rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 2rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Form actions */
    .form-actions {
        flex-direction: column;
    }

    .form-actions .cta-button {
        width: 100%;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .navbar {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        padding: 1.5rem 0;
    }

    .nav-menu li {
        padding: 0 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* About */
    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .map-placeholder {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.gap-small {
    gap: 0.5rem;
}

.opacity-80 {
    opacity: 0.8;
}
