/* ================================================
   Paramus Houses Consulting - Styles
   ================================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* === CSS Variables === */
:root {
    --color-white: #ffffff;
    --color-green: #28a745;
    --color-green-hover: #1e7e34;
    --color-dark-gray: #222222;
    --color-olive: #6b7c3e;
    --color-graphite: #444444;
    --color-light-gray: #f8f9fa;
    --color-border: #e0e0e0;
    
    --font-body: 300;
    --font-text: 400;
    --font-heading: 600;
    --font-bold: 700;
    
    --max-width: 1200px;
    --border-radius: 12px;
}

/* === Reset and Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: var(--font-text);
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    max-width: 700px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-green);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-green-hover);
}

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

/* === Header === */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--color-dark-gray);
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--color-green);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark-gray);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-dark-gray);
    font-weight: var(--font-text);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34,34,34,0.8), rgba(40,167,69,0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 100%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-heading);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-green);
}

/* === Container === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--color-graphite);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* === Cards === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    fill: var(--color-green);
}

.card h3 {
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-graphite);
    max-width: 100%;
}

/* === Statistics === */
.statistics {
    background: linear-gradient(135deg, var(--color-green), var(--color-olive));
    color: var(--color-white);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-bold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: var(--font-text);
}

/* === CTA Section === */
.cta-section {
    background-color: var(--color-light-gray);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--color-graphite);
    margin: 0 auto 2rem;
}

/* === Blog === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    color: var(--color-graphite);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--color-graphite);
    margin-bottom: 1rem;
}

/* === Article === */
.article-header {
    background: linear-gradient(135deg, rgba(34,34,34,0.9), rgba(40,167,69,0.8));
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
}

.article-header h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-content img {
    width: 100%;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-graphite);
}

.article-content p {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* === Contact Form === */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-heading);
    color: var(--color-dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
}

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

.contact-info {
    background: var(--color-light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    font-weight: var(--font-heading);
    color: var(--color-dark-gray);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-answer {
    color: var(--color-graphite);
    line-height: 1.7;
}

/* === Footer === */
.site-footer {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--color-green);
    margin-bottom: 1rem;
}

.footer-about p {
    max-width: 100%;
    font-weight: var(--font-body);
    opacity: 0.9;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-weight: var(--font-body);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-white);
    opacity: 0.9;
    font-weight: var(--font-body);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-weight: var(--font-body);
    opacity: 0.8;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--color-green);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
}

.cookie-banner .btn {
    padding: 0.625rem 1.5rem;
    white-space: nowrap;
}

/* === Content Sections === */
.content-section {
    padding: 4rem 2rem;
}

.content-section:nth-child(even) {
    background-color: var(--color-light-gray);
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.text-content ul, .text-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

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

/* Tablet */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .header-container {
        padding: 1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
        padding: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        justify-content: stretch;
    }
    
    .cookie-banner .btn {
        flex: 1;
    }
}

/* Mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
