/*
Theme Name: CC Patio Elementor V2.1
Theme URI: https://example.com/cc-patio-elementor
Author: Lovable Conversion PV
Author URI: https://example.com
Description: Elementor-ready WordPress theme converted from the CC Patio Lovable.ai site.
Version: 1.0.2
Text Domain: cc-patio-elementor
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Roboto:wght@300;400;500&display=swap');

:root {
    --background: #ffffff;
    --foreground: #1a1a1a;
    --card: #efe9df;
    --muted: #d4cbbd;
    --muted-foreground: #5a5855;
    --accent: #bb9859;
    --accent-foreground: #ffffff;
    --divider: #e6e0d7;
    --hero-overlay: rgba(0, 0, 0, 0.45);
    --content-max: 1200px;
    --section-padding: clamp(2.5rem, 5vw, 4rem);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Roboto', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--foreground);
    background: var(--background);
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.ccp-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.ccp-section {
    padding: var(--section-padding) 0;
}

.ccp-headline {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

.ccp-headline-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.ccp-headline-md {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.ccp-headline-sm {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.ccp-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
}

.ccp-body-lg {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    font-weight: 300;
}

.ccp-body-md {
    font-size: 1rem;
    line-height: 1.7;
}

.ccp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--foreground);
    background: var(--foreground);
    color: var(--accent-foreground);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.ccp-button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.ccp-button--outline {
    background: transparent;
    color: var(--foreground);
}

.ccp-button--outline:hover {
    background: var(--foreground);
    color: var(--accent-foreground);
}

.ccp-hero {
    position: relative;
    height: 770px;
    color: #fff;
    overflow: hidden;
}

.ccp-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15));
}

.ccp-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    z-index: 1;
}

.ccp-hero-mute {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.ccp-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0.8;
}

.ccp-brand-story {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.ccp-divider {
    margin: 2rem auto 0;
    width: 96px;
    height: 1px;
    background: var(--divider);
}

.ccp-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.ccp-process-card img {
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ccp-projects-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ccp-projects-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.ccp-final-cta {
    background: var(--foreground);
    color: #fff;
}

.ccp-footer {
    border-top: 1px solid var(--divider);
    padding: 4rem 0 2rem;
}

.ccp-footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ccp-footer small {
    color: var(--muted-foreground);
}

.ccp-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #0f0f0f;
    color: #fff;
}

.ccp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.ccp-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.ccp-nav-menu a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.ccp-nav-menu a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .ccp-nav-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .ccp-hero {
        height: 560px;
    }
}
