/* Kara Firin - Professional Stylesheet */

:root {
    --primary: #5B1F1F;
    --secondary: #8B4513;
    --accent: #D4A574;
    --accent-dark: #B8935C;
    --burgundy: #722F37;
    --cream: #FFF8F0;
    --light-gray: #FAF6F2;
    --medium-gray: #E8DED4;
    --dark-gray: #6B5D54;
    --white: #ffffff;
    --black: #1a1a1a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.16);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, serif;
    line-height: 1.2;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--dark-gray);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 500;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

nav a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

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

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

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 9px;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
    font-size: 13px;
    transition: all 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Page Heroes */
.page-hero {
    margin-top: 75px;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--burgundy) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h50v50H0z" fill="rgba(255,255,255,0.03)"/%3E%3C/svg%3E');
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Dancing Script', cursive;
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 80px 20px;
}

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

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.section-subtitle {
    font-size: 17px;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* Footer */
footer {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 13px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 32px;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        gap: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        background: var(--light-gray);
    }

    .nav-icons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .page-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}