:root {
    --primary: #c0392b;
    --primary-light: #e74c3c;
    --secondary: #d35400;
    --accent: #f1c40f;
    --dark: #1a1a1a;
    --light: #fdfcfb;
    --gray: #7f8c8d;
    --wood-brown: #5d4037;
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 252, 251, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wood-brown);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('kondapalli_toys_hero_1778478419234.png') no-repeat center center/cover;
    color: white;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.primary-btn:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-5px);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--wood-brown);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Origin Section */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.origin-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

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

.feature-item h3 {
    margin: 1rem 0 0.5rem;
    color: var(--dark);
}

.feature-icon {
    font-size: 2rem;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Process Section */
.process-section {
    background: #f8f5f2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(192, 57, 43, 0.1);
    margin-bottom: 1rem;
}

/* Collection Section */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    position: relative;
    animation: modalReveal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.product-modal-flex {
    display: flex;
    gap: 3rem;
}

.modal-image-side {
    flex: 1;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.modal-info-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 1rem 0;
}

.modal-desc {
    color: var(--gray);
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

/* Forms */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--wood-brown);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .grid { grid-template-columns: 1fr; }
    .product-modal-flex { flex-direction: column; }
    .modal-image-side { height: 300px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
