@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-primary: #E2725B; /* Terracotta */
    --color-secondary: #F3C13A; /* Tuscan Sun Yellow */
    --color-accent: #708238; /* Olive Green */
    --color-bg: #FAF9F6; /* Cream/Warm White */
    --color-bg-darker: #EFECE5;
    --color-text-main: #2C2C2C; /* Charcoal */
    --color-text-light: #5A5A5A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-soft: 0 4px 15px rgba(44, 44, 44, 0.08);
    --shadow-hover: 0 8px 25px rgba(226, 114, 91, 0.15);
    --border-radius-lg: 12px;
    --border-radius-sm: 6px;
    --transition: all 0.3s ease;
}

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

html {
    lang: "en";
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation (Slim, Non-Sticky) */
header {
    background-color: var(--color-bg);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    position: static; /* Unstuck */
    z-index: 100;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background-color: var(--color-primary);
    color: var(--color-bg) !important;
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
}

.nav-cta:hover {
    background-color: #C85F49;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-bg);
    background-color: var(--color-text-main);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #DDAA28;
    transform: translateY(-2px);
}

/* Main Content Container */
main {
    flex: 1;
}

.section-container {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Card Architecture Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--color-primary);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.card-excerpt {
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex: 1;
}

.card-btn {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: var(--color-bg-darker);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: 1px solid rgba(226, 114, 91, 0.2);
}

.card-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Detailed Page Styling */
.page-header {
    background-color: var(--color-bg-darker);
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid rgba(44,44,44,0.05);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.page-content {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 5%;
    font-size: 1.1rem;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    margin: 40px 0 20px;
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

.featured-image-full {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin: 30px 0;
    box-shadow: var(--shadow-soft);
}

.info-box {
    background-color: #f9f5ed;
    border-left: 4px solid var(--color-secondary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 5%;
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    background-color: #fff;
}

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

/* Footer (Mandatory everywhere) */
footer {
    background-color: var(--color-text-main);
    color: #f1f1f1;
    padding: 60px 5% 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-text-main);
    color: #fff;
    padding: 20px 5%;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 70%;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--color-secondary);
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .hero h1 { font-size: 2.2rem; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 15px; }
    .cookie-content { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 2rem; }
}