/* =====================================================
   Signature Stationery Ltd - Elegant Design
   Sophisticated, professional aesthetic
   ===================================================== */

/* Google Fonts - Elegant typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
    --color-primary: #4a3260;
    --color-primary-dark: #3a2750;
    --color-primary-light: #6b4a8a;
    --color-accent: #c4a35a;
    --color-accent-light: #d4b86a;
    --color-white: #ffffff;
    --color-cream: #faf9f7;
    --color-warm-gray: #f5f4f2;
    --color-gray-200: #e8e6e3;
    --color-gray-400: #a09d98;
    --color-gray-600: #6b6862;
    --color-gray-800: #3d3a36;
    --color-gray-900: #1a1918;
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-subtle: 0 2px 8px rgba(26, 25, 24, 0.04);
    --shadow-soft: 0 4px 20px rgba(26, 25, 24, 0.08);
    --shadow-medium: 0 8px 30px rgba(26, 25, 24, 0.12);
    --shadow-elevated: 0 16px 48px rgba(26, 25, 24, 0.16);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    
    --border-radius: 4px;
    --border-radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 500;
    color: var(--color-gray-900);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    margin: 24px auto 0;
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-elegant);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(74, 50, 96, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 50, 96, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-900);
    transition: var(--transition-smooth);
}

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

.logo-img {
    max-width: 300px;
    height: auto;
    padding: 16px 0;
}

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

.nav-links a {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-gray-800);
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 50px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

/* Hero Entrance Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-content h1 { animation-delay: 0.1s; }
.hero-content .hero-tagline { animation-delay: 0.35s; }
.hero-stats { animation-delay: 0.5s; }

/* =====================================================
   Partners Section
   ===================================================== */
.partners {
    padding: 50px 0;
    background: var(--color-gray-900);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partners-logos img {
    height: 60px;
    width: auto;
    opacity: 0.5;
    filter: brightness(0) invert(0.6);
    transition: var(--transition-smooth);
}

.partners-logos img:hover {
    opacity: 1;
    filter: brightness(0) invert(0.85);
}

/* =====================================================
   About Section
   ===================================================== */
.about {
    background-color: var(--color-white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gray-200), transparent);
    transform: translateX(-50%);
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   Products Section
   ===================================================== */
.products {
    background-color: var(--color-warm-gray);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(74, 50, 96, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 163, 90, 0.04) 0%, transparent 50%);
}

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

.product-card {
    background-color: var(--color-white);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid transparent;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--color-gray-200);
    box-shadow: var(--shadow-soft);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 28px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    color: var(--color-primary-dark);
}

.product-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 0.5;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* =====================================================
   What We Do Section
   ===================================================== */
.whatwedo {
    background-color: var(--color-white);
}

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

.channel-card {
    background-color: var(--color-cream);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.channel-card:hover {
    box-shadow: var(--shadow-soft);
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 28px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.channel-card:hover .channel-icon {
    transform: scale(1.1);
    color: var(--color-primary-dark);
}

.channel-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 0.5;
}

.channel-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.channel-card p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    background-color: var(--color-warm-gray);
    background-image: 
        radial-gradient(circle at 80% 80%, rgba(74, 50, 96, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(196, 163, 90, 0.04) 0%, transparent 50%);
}

.contact-grid-four {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

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

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.contact-item h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background-color: var(--color-accent);
}

.contact-item address {
    font-style: normal;
    color: var(--color-gray-600);
    line-height: 1.9;
    font-size: 0.9375rem;
}

.contact-item p {
    color: var(--color-gray-600);
    margin-bottom: 12px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-item a {
    color: var(--color-gray-800);
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-fast);
    transform-origin: right;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-item a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background-color: var(--color-gray-900);
    color: var(--color-gray-400);
    padding: 70px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    height: 80px;
}

.footer-brand p {
    max-width: 280px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-400);
}

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

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 40px;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 6px;
}

.company-reg {
    font-size: 0.8125rem;
    color: var(--color-gray-600);
}

/* =====================================================
   Mobile Responsive
   ===================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .products-grid,
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid-four {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Hero Stats */
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Partners */
    .partners {
        padding: 40px 0;
    }
    
    .partners-logos {
        gap: 30px 40px;
    }
    
    .partners-logos img {
        height: 50px;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 32px;
        gap: 20px;
        box-shadow: var(--shadow-medium);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.0625rem;
    }
    
    /* Products & Channels */
    .products-grid,
    .channels-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    
    /* Shop */
    .shop-coming-soon {
        padding: 50px 30px;
    }
    
    .shop-coming-soon::before,
    .shop-coming-soon::after {
        width: 40px;
        height: 40px;
    }
    
    /* Contact */
    .contact-grid-four {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        padding: 30px 24px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .partners-logos {
        gap: 20px 30px;
    }
    
    .partners-logos img {
        height: 40px;
    }
    
    .contact-grid-four {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 0.875rem;
    }
}
