/* Main Stylesheet for ACER Garden Retreats */

:root {
    --primary-color: #3d1414;
    --secondary-color: #fcfbfa;
    --accent-color: #8b6f47;
    --text-dark: #3d1414;
    --text-light: #fcfbfa;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    background-color: var(--accent-color);
    color: var(--text-light);
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.header p {
    font-size: 1.1rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a2424 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-logo {
    max-width: 460px;
    width: 100%;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 35px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: rgba(252, 251, 250, 0.92);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #7a5d3b;
}

.btn-secondary {
    background-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #5a2424;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, #ccc, #ddd);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
    letter-spacing: 0.5px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.contact-form-panel {
    background: white;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 0;
}

.contact-iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.serving-map-wrapper {
    position: relative;
    width: 100%;
    margin-top: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

.serving-map {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
}

.serving-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    pointer-events: none;
}

.serving-map-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f4f8a;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(139, 111, 71, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        width: 100%;
        padding: 10px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-iframe {
        height: 700px;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
    }
}
