/* Layout Styles */

/* Header */
#main-header {
    background-color: var(--c-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding-right: var(--sp-sm);
    /* Ensure space for hamburger */
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 80%;
    /* Prevent logo taking full width */
}

.brand-text {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.0rem;
    line-height: 1;
    color: var(--c-primary);
    white-space: nowrap;
    font-weight: 700;
}

.brand-carmen,
.brand-kitty {
    font-weight: 700;
}

.brand-loves {
    font-style: italic;
    font-weight: 400;
    color: var(--c-accent);
}

.logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    transform: translateY(5px);
}

.main-nav ul {
    display: flex;
    gap: var(--sp-md);
}

.main-nav a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--c-accent);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--c-primary);
    margin: 5px 0;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.6rem;
        /* Reduced from 2rem to fit standard mobile */
    }

    .logo {
        height: 34px;
    }
}

@media (max-width: 380px) {
    .brand-text {
        font-size: 1.35rem;
        /* Further reduction for iPhone SE/Mini */
    }

    .logo {
        height: 28px;
    }

    .logo-link {
        gap: 8px;
    }
}

/* Hero Section */
.hero {
    background-color: var(--c-bg);
    padding: var(--sp-lg) 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--sp-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--sp-md);
    color: var(--c-primary);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--sp-md);
    color: var(--c-text-light);
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--br-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 116%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%);
    mask-image: linear-gradient(to right, transparent, black 10%);
}

/* Footer */
#main-footer {
    background-color: var(--c-primary);
    color: var(--c-white);
    padding: var(--sp-lg) 0 var(--sp-md);
    margin-top: var(--sp-xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.footer-col h3,
.footer-col h4 {
    color: var(--c-accent);
    margin-bottom: var(--sp-sm);
    font-family: var(--font-heading);
}

.footer-col a {
    color: #ddd;
}

.footer-col a:hover {
    color: var(--c-white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--sp-md);
    font-size: 0.8rem;
    color: #aaa;
}

/* Contact Form Phone Input */
.phone-input-group {
    display: flex;
    gap: 0;
}

/* Increased specificity to override components.css .form-group select width: 100% */
.phone-input-group .phone-prefix {
    width: 90px;
    flex-shrink: 0;
    border-radius: var(--br-sm) 0 0 var(--br-sm);
    border: 1px solid #ddd;
    /* Match components.css border color */
    background: #f9f9f9;
    padding: 0 5px;
}

#phone-number {
    flex: 1;
    border-radius: 0 var(--br-sm) var(--br-sm) 0;
    border-left: none;
    /* Merge look */
}

/* Ensure inputs in the group match standard input height/style */
.phone-input-group input,
.phone-input-group select {
    height: 45px;
    /* Adjust if needed to match other inputs */
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f6f7fb;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}