@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #0A192F;
    --accent-color: #C5A059;
    --text-white: #FFFFFF;
    --text-gray: #A8B2D1;
    --bg-light: #F8F9FA;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Reusable Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #A68036);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

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

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

/* Navigation */
nav {
    padding: 35px 0; /* Reduced slightly for better balance */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.95rem; /* Reduced from 2.2rem */
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem; /* Reduced slightly */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px; /* Adjusted for refined nav size */
    background: radial-gradient(circle at center, #112240 0%, #0A192F 100%);
    overflow: hidden;
}

.hero-content {
    z-index: 10;
}

.stamp-container {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stamp-graphic {
    position: absolute;
    top: -150px;
    width: 200px;
    height: 200px;
    z-index: 20;
    pointer-events: none;
    animation: stampToolHit 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stamp-graphic img {
    width: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.stamp-mark {
    opacity: 0;
    transform: scale(1.5);
    animation: stampMarkAppear 0.2s 0.6s forwards;
}

.stamp-mark h1 {
    font-size: 5rem;
    color: var(--accent-color);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 0px rgba(0,0,0,1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s 1.2s forwards;
}

/* Specific Animations */
@keyframes stampToolHit {
    0% {
        transform: translateY(-200px) scale(1.5) rotate(-20deg);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    50% {
        transform: translateY(120px) scale(0.9) rotate(5deg);
    }
    60% {
        transform: translateY(100px) scale(1) rotate(0deg);
    }
    100% {
        transform: translateY(-500px) scale(1) rotate(0deg);
        opacity: 0;
    }
}

@keyframes stampMarkAppear {
    0% {
        opacity: 0;
        transform: scale(1.2);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

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

/* Section titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.text-accent { color: var(--accent-color); }

/* Products Section */
.bg-light-section {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Order Section */
.order-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.order-perks {
    list-style: none;
    margin-top: 20px;
}

.order-perks li {
    margin: 10px 0;
    color: var(--accent-color);
    font-weight: 600;
}

.order-form {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.order-form input, 
.order-form select, 
.order-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2); /* Darker background */
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 5px;
    outline: none;
    transition: var(--transition-smooth);
}

.order-form select option {
    background-color: var(--primary-color);
    color: white;
}

.order-form input:focus, 
.order-form select:focus, 
.order-form textarea:focus {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
}

.order-form .w-100 { width: 100%; }

.file-upload {
    margin-bottom: 20px;
    text-align: left;
}

.file-upload label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Contact Section */
.bg-dark-alt {
    background: #0D1E36;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* About Page Styles */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    text-align: center;
}

.mission-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.mission-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 40px;
    }
    
    .order-wrapper, .story-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 100px;
    }

    .stamp-mark h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .mission-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .order-form {
        padding: 25px;
    }

    .form-group {
        flex-direction: column;
        gap: 0;
    }
}
