/* 
   1704 Avenue - Premium Packaging & Design
   Theme: Gold & Dark Charcoal
*/

:root {
    /* Colors */
    --color-primary: #D4AF37;
    /* Gold */
    --color-primary-hover: #B5952F;
    --color-bg: #FFFFFF;
    /* White */
    --color-surface: #F9F9F9;
    /* Light Grey */
    --color-surface-light: #F0F0F0;
    --color-text: #333333;
    /* Dark Grey */
    --color-text-muted: #666666;
    --color-border: #E0E0E0;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-dark-bg: #1a1a1a;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-gold {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.text-light {
    color: var(--color-text-muted);
}

.bg-surface {
    background-color: var(--color-surface);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-light {
    background-color: var(--color-surface);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Start hidden */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary,
.btn {
    background: linear-gradient(45deg, var(--color-primary), #E5C55D);
    color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #E5C55D, var(--color-primary));
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Slideshow */
.hero-slideshow {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* Full screen */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom effect */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease-out 1.1s forwards;
    opacity: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 10;
    transform: translateY(-50%);
}

.prev-slide,
.next-slide {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
    color: var(--color-primary);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Cards & Components */
.card,
.feature-card,
.value-item {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover,
.feature-card:hover,
.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

/* Forms */
.form-container {
    background: var(--color-white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-surface);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Footer */
footer {
    background-color: #111;
    color: #ccc;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-heading {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
    background: #1a1a1a;
}

.social-icon:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 40px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        gap: 20px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-slideshow {
        height: 80vh;
    }
}


/* Gallery Slider Wrapper */
.brand-gallery-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track (moves infinitely) */
.brand-gallery-track {
  display: flex;
  gap: 20px;
  animation: scrollGallery 22s linear infinite;
}

/* Image styling */
.brand-gallery-track img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

/* Hover zoom */
.brand-gallery-track img:hover {
  transform: scale(1.05);
}

/* Infinite sliding animation */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .brand-gallery-track img {
    width: 180px;
    height: 140px;
  }
}
/* 4 Column Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media(max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Slider Styling */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: 0.5s ease;
}

.slide {
    min-width: 100%;
    padding: 10px;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

/* Slider buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 45%;
    background: rgba(0,0,0,0.4);
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }
/* Card base styling */
.feature-card {
    padding: 40px 20px;
    border-radius: 12px;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* dark overlay for readability */
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 2;
}

/* Hover effect */
.feature-card:hover {
    transform: translateY(-8px);
    transition: 0.3s ease;
}

/* Individual card backgrounds */
.card-print {
    background-image: url('images/print.jpg');
}

.card-brand {
    background-image: url('images/brand.jpg');
}

.card-packaging {
    background-image: url('images/packaging.jpg');
}

.card-corporate {
    background-image: url('images/corporate.jpg');
}
/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-surface);
}

/* Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Testimonial Card (Improved contrast) */
.testimonial-card {
    background: rgba(0, 0, 0, 0.08); /* darker background for contrast */
    padding: 25px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
    text-align: center;
    position: relative;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.20);
}

/* Quote Icon */
.quote-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Testimonial Text (Fix contrast) */
.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #222; /* dark readable text */
    margin-bottom: 20px;
}

/* Client Name */
.testimonial-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111; /* darker for visibility */
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Make services card text black */
.card h3,
.card p {
    color: #000 !important;
}
