/* ===========================
   Argimalutak - Stylesheet
   Colors: #7b6e5d (brown), #fcfaf7 (warm white), #ede7e1 (warm gray), #c11d69 (pink accent)
   Fonts: Mulish (body), Be Vietnam Pro (headings)
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fcfaf7;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #7b6e5d;
    line-height: 1.2;
}

:focus-visible {
    outline: 2px solid #7b6e5d;
    outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #7b6e5d;
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.container-narrow {
    max-width: 900px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(123, 110, 93, 1);
    transition: background-color 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dbd5d0;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 1%;
}

.logo-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #dbd5d0;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
}

/* Dropdown */
.has-dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #dbd5d0;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-toggle:hover {
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(123, 110, 93);
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #dbd5d0;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover {
    color: #fff;
}

/* CTA Header Button */
.btn-cta-header {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #fff;
    color: #c11d69;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 0.75rem;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.btn-cta-header:hover {
    opacity: 0.9;
}

.social-link-header {
    color: #dbd5d0;
    margin-left: 0.75rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.social-link-header:hover {
    color: #fff;
}

/* Hamburger */
#menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #dbd5d0;
    transition: all 0.3s ease;
}

#nav {
    display: flex;
    align-items: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-height: 44px;
    min-width: 44px;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}

.btn-hero {
    background: #fff;
    color: #7b6e5d;
    font-size: 1rem;
    border: 2px solid #fff;
}

.btn-hero:hover {
    background: transparent;
    color: #fff;
}

.btn-primary {
    background: #7b6e5d;
    color: #fcfaf7;
    border: 2px solid #7b6e5d;
}

.btn-primary:hover {
    background: transparent;
    color: #7b6e5d;
}

.btn-info {
    background: #7b6e5d;
    color: #ede7e1;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-submit {
    background: #7b6e5d;
    color: #ede7e1;
    font-size: 1rem;
    padding: 0.75rem 2.5rem;
}

.btn-follow {
    background: transparent;
    color: #fcfaf7;
    border: 2px solid #fcfaf7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

.btn-follow:hover {
    background: #fcfaf7;
    color: #7b6e5d;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 6vw, 4rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
    max-width: 55%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #7b6e5d;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #7b6e5d;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* --- Section Intro --- */
.section-intro {
    background: #fcfaf7;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-intro p {
    text-align: justify;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.section-intro p:last-of-type {
    margin-bottom: 2rem;
}

.section-intro .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* --- Section Title --- */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    color: #7b6e5d;
}

/* --- Services --- */
.section-services {
    background: #ede7e1;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
}

.service-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.service-icon {
    width: clamp(100px, 20vw, 160px);
    height: clamp(100px, 20vw, 160px);
    margin: 0 auto 1rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #7b6e5d;
    margin-bottom: 0.75rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-separator {
    border: none;
    border-top: 1px solid #1a1a1a;
    width: 60px;
    margin: 0 auto 0.75rem;
}

.service-summary {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-detail {
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(252, 250, 247, 0.7);
    border-radius: 4px;
    text-align: left;
}

.service-detail p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-detail p:last-child {
    margin-bottom: 0;
}

.service-detail ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.service-detail li {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Follow Banner --- */
.section-follow {
    background: #7b6e5d;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    text-align: center;
}

/* --- About --- */
.section-about {
    background: #fcfaf7;
    padding: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.about-text {
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    text-align: justify;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- CTA Section --- */
.section-cta {
    background: #ede7e1;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 1.5rem;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #7b6e5d;
    color: #fcfaf7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-icon:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* --- Contact --- */
.section-contact {
    background: #ede7e1;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-info a {
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #7b6e5d;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s ease;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #7b6e5d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 110, 93, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: #757575;
}

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #7b6e5d;
}

.form-check label {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0;
}

.form-check a {
    color: #7b6e5d;
    text-decoration: underline;
}

/* --- Map --- */
.section-map {
    line-height: 0;
}

.section-map iframe {
    width: 100%;
    height: 400px;
}

/* --- Footer --- */
.footer {
    background: #757575;
    color: #fff;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    text-align: center;
}

.footer-legal {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #fff;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.footer-sep {
    margin: 0 0.5rem;
    opacity: 0.6;
}

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

/* ===========================
   Responsive
   =========================== */

/* Tablet */
@media (max-width: 991px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image img {
        max-height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    #menu-trigger {
        display: flex;
    }

    #nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #7b6e5d;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    #nav.open {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .has-dropdown {
        flex-wrap: wrap;
    }

    .dropdown-toggle {
        padding: 0.75rem 0.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 1rem;
    }

    .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
        display: block;
    }

    .btn-cta-header {
        margin: 1rem 0 0;
        text-align: center;
        width: 100%;
        padding: 0.75rem;
    }

    .social-link-header {
        margin: 1rem 0 0;
        justify-content: center;
    }

    /* Hero mobile */
    .hero {
        min-height: 50vh;
        align-items: center;
    }

    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(123, 110, 93, 0.5);
        z-index: 0;
    }

    .hero-content {
        max-width: 100%;
        z-index: 1;
    }

    .hero-title {
        color: #ede7e1;
    }

    .hero-subtitle {
        color: #ede7e1;
    }

    .btn-hero {
        background: #fff;
        color: #7b6e5d;
    }

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

    .service-title {
        min-height: auto;
    }

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

    /* Footer */
    .footer-legal a {
        display: inline;
    }

    .footer-sep {
        display: inline;
    }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero {
        min-height: 65vh;
    }
}

/* --- Floating Social Buttons --- */
.floating-social {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-btn:focus {
    outline: 3px solid #7b6e5d;
    outline-offset: 2px;
}

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

.floating-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}
