/* ============================================
   Revenna Trading - Elegant One Page Website
   Color Palette:
   - Light Beige: #E8E0D1
   - Brown/Gold: #A68457
   - Medium Green: #376250
   - Dark Green: #002F1D
============================================ */

/* CSS Variables */
:root {
    --color-beige: #E8E0D1;
    --color-gold: #A68457;
    --color-green: #376250;
    --color-dark-green: #002F1D;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 47, 29, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 47, 29, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #8f7249;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Section Styling */
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--color-beige);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-dark-green);
    margin-bottom: 24px;
}

.section-title.light {
    color: var(--color-white);
}

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

/* ============================================
   HEADER
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

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

.logo {
    z-index: 1001;
}

.logo-img {
    height: 90px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header.scrolled .logo-img {
    height: 70px;
    filter: none;
}



.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-white);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--color-dark-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

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

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

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
    background-color: var(--color-dark-green);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-green) 100%);
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-logo {
    width: 700px;
    height: auto;
    margin: 60px auto 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(48px, 8vw, 84px);
    color: var(--color-white);
    margin-bottom: 16px;
    animation: fadeInDown 1s ease;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-style: italic;
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
    font-size: 20px;
    color: var(--color-beige);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.8s both;
}

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

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

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: 120px 0;
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 19px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.9;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.feature-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-dark-green);
}

.about-image {
    position: relative;
}

.about-img {
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    z-index: -1;
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products {
    padding: 120px 0;
    background-color: var(--color-dark-green);
}

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

.product-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-dark-green);
}

.product-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
============================================ */
.process {
    padding: 120px 0;
    background-color: var(--color-beige);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-white);
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.step-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-dark-green);
}

.step-desc {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   WHY REVENNA SECTION
============================================ */
.why-revenna {
    padding: 120px 0;
    background-color: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.why-item:hover {
    background-color: var(--color-beige);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: var(--color-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-green);
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.why-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-dark-green);
}

.why-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-dark-green) 100%);
}

.contact .section-header {
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #8f7249 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-card-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card-links a,
.contact-card-links span {
    font-size: 16px;
    color: var(--color-beige);
    line-height: 1.6;
}

.contact-card-links a:hover {
    color: var(--color-gold);
}

.contact-cta {
    margin-top: 50px;
    text-align: center;
    padding: 24px 40px;
    background: rgba(166, 132, 87, 0.15);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta p {
    font-size: 18px;
    color: var(--color-beige);
    margin: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: var(--color-white);
}

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

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: 60px 0 40px;
    background-color: var(--color-dark-green);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-logo {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 18px;
    color: var(--color-gold);
    margin-top: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 16px;
    color: var(--color-beige);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-copyright p {
    font-size: 15px;
    color: rgba(232, 224, 209, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-grid .why-item:nth-child(4),
    .why-grid .why-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-dark-green);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .nav-link {
        font-size: 24px;
        color: var(--color-white);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Sections */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image::before {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-item {
        padding: 25px 20px;
        background-color: var(--color-beige);
        border-radius: 8px;
    }
    
    .why-revenna {
        padding: 80px 0;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 24px;
    }
    
    .contact-cta {
        padding: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
    
    /* Hero adjustments for mobile */
    
    .hero-description br {
        display: none;
    }
    
    /* Spacing */
    .about,
    .products,
    .process,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .process-step {
        padding: 30px 20px;
    }
    
    .step-number {
        font-size: 36px;
    }
}

/* Smooth scrolling for all anchors */
html {
    scroll-padding-top: 100px;
}
