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

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-tan: #C4A882;
    --dark-tan: #8B7355;
    --light-tan: #E5D7C3;
    --cream: #EBE3D5;
    --wood-brown: #6B4423;
    --charcoal: #2C2416;
    --text-dark: #3A3028;
    --text-light: #7A6B5C;
    --accent-gold: #B89651;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 0.05em;
}

.script-font {
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, #8B7355, rgba(139, 115, 85, 0.95));
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(44, 36, 22, 0.3);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Legacy logo styles - kept for backwards compatibility */
.logo {
    width: 50px;
    height: 50px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
    transition: all 0.3s ease;
}

.logo:hover {
    background-color: var(--cream);
    color: var(--dark-tan);
}

.brand-name {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-tan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #DDD5C7 0%, #D0C4B0 100%);
    overflow: hidden;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    left: -50%;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="2" height="100" fill="%23D4B896" opacity="0.1"/><rect x="10" y="0" width="2" height="100" fill="%23D4B896" opacity="0.1"/><rect x="20" y="0" width="2" height="100" fill="%23D4B896" opacity="0.1"/></svg>') repeat;
    transform: skewX(-15deg);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
    min-height: 500px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 1s ease;
}

.hero-text .tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-visual {
    position: relative;
    animation: fadeIn 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.hero-circle {
    width: 380px;
    height: 380px;
    border: 2px solid var(--dark-tan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 227, 213, 0.4);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(107, 68, 35, 0.15);
    flex-shrink: 0;
}

.hero-logo {
    width: 350px;
    height: 350px;
    object-fit: contain;
    animation: fadeIn 1.5s ease;
}

/* Legacy hero circle text styles - kept for backwards compatibility */
.hero-circle h2 {
    font-size: 3rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-circle .subtitle {
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--dark-tan);
    color: var(--cream);
    border-color: var(--dark-tan);
}

.btn-primary:hover {
    background-color: var(--wood-brown);
    border-color: var(--wood-brown);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 68, 35, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-tan);
    border-color: var(--dark-tan);
}

.btn-outline:hover {
    background-color: var(--dark-tan);
    color: var(--cream);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #E8E0D3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
    background: #DDD5C7;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 68, 35, 0.1);
}

.about-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-gold);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Where to Start Section */
.where-to-start {
    padding: 5rem 0;
    background-color: #F9F6F1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 68, 35, 0.08);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(107, 68, 35, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-tan) 0%, var(--wood-brown) 100%);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(107, 68, 35, 0.2);
}

.step-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.start-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, rgba(107, 68, 35, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid var(--primary-tan);
}

.start-cta h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.start-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background-color: #E0D8CA;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: #E8E0D3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 68, 35, 0.12);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 68, 35, 0.15);
}

.portfolio-image {
    width: 100%;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(221, 213, 199, 0.98) 0%, rgba(221, 213, 199, 0.95) 80%, rgba(221, 213, 199, 0) 100%);
    transform: translateY(0);
    transition: none;
    z-index: 10;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: 400;
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.portfolio-content p {
    display: none;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #3A3028 100%);
    color: var(--cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.contact-info p {
    color: var(--light-tan);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    color: var(--light-tan);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details li::before {
    content: '◆';
    color: var(--accent-gold);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-tan);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 184, 150, 0.3);
    border-radius: 5px;
    color: var(--cream);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

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

.form-group select option {
    background-color: var(--charcoal);
    color: var(--cream);
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    transform: scale(0.95);
    transform-origin: center;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--light-tan);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-tan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-tan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--charcoal);
    transform: translateY(-3px);
}

.license-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-tan);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-circle {
        width: 320px;
        height: 320px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-content {
        gap: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 1rem;
    }

    header {
        padding: 0.25rem 0;
    }

    nav {
        padding: 0 1rem;
        height: 70px;
    }

    .logo-image {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(to bottom, #8B7355, rgba(139, 115, 85, 0.98));
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(229, 215, 195, 0.2);
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding: 6rem 0 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text .tagline {
        font-size: 1rem;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
        padding: 1rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .start-cta {
        padding: 2rem 1.5rem;
    }

    .start-cta h3 {
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-image {
        height: 220px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-circle {
        width: 240px;
        height: 240px;
    }

    .logo-image {
        height: 50px;
    }

    nav {
        height: 60px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
