/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --clr-accent: #e3000f;
    --clr-accent-hover: #cc000d;
    --clr-primary: #333333;
    --clr-secondary: #666666;
    --clr-light: #f4f5f7;
    --clr-white: #ffffff;
    --clr-black: #000000;

    --ff-primary: 'Montserrat', sans-serif;

    --fz-base: 1rem;
    /* 16px */
    --fz-lg: 1.125rem;
    /* 18px */
    --fz-xl: 1.5rem;
    /* 24px */
    --fz-xxl: 2rem;
    /* 32px */
    --fz-hero: 3rem;
    /* 48px */

    --transition: 0.3s ease-in-out;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

    --radius: 8px;
    --max-width: 1200px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Adjust for fixed header */
}

body {
    font-family: var(--ff-primary);
    font-size: var(--fz-base);
    color: var(--clr-primary);
    line-height: 1.6;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--clr-secondary);
}

a {
    text-decoration: none;
    color: var(--clr-accent);
    transition: var(--transition);
}

a:hover {
    color: var(--clr-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--clr-white) !important;
}

.text-white p,
.text-white a {
    color: #ddd;
}

.text-white a:hover {
    color: var(--clr-accent);
}

.bg-light {
    background-color: var(--clr-light);
}

.bg-dark {
    background-color: #1a1a1a;
}

.accent {
    color: var(--clr-accent);
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: var(--fz-xxl);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: var(--fz-lg);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--clr-accent);
    margin-bottom: 2rem;
}

.title-underline.center {
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-family: var(--ff-primary);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-white);
    color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.rounded-shadow {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: -1px;
}

.primary-navigation {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.social-icon {
    color: var(--clr-primary);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--clr-accent);
    transform: translateY(-2px);
}

.social-icon.instagram-colored i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.social-icon.instagram-colored:hover {
    transform: translateY(-3px) scale(1.1);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--clr-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--clr-white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, var(--fz-hero));
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: var(--fz-lg);
    color: var(--clr-light);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--clr-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--clr-accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(227, 0, 15, 0.1);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--clr-accent);
    color: var(--clr-white);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */
.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.catalogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.catalog-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 1.5rem;
    background-color: var(--clr-white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    color: var(--clr-primary);
    transition: var(--transition);
}

.catalog-card i {
    font-size: 2.5rem;
    color: #e2574c;
    /* PDF red color */
}

.catalog-card span {
    font-weight: 500;
    text-align: center;
}

.catalog-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.bank-list {
    list-style: none;
    padding: 0;
}

.bank-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--clr-accent);
}

.contact-form-container {
    background-color: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    color: var(--clr-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--ff-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.1);
}

.recaptcha-wrapper {
    margin: 1.5rem 0;
}

.btn-submit {
    width: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.google-map {
    width: 100%;
    background-color: #333;
    border-radius: var(--radius);
    overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111;
    color: #888;
    padding: 2rem 0;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--clr-white);
}

/* ==========================================================================
   GDPR Cookie Notice
   ========================================================================== */
.cookie-notice {
    position: fixed;
    bottom: -100px;
    /* Hidden initially */
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--clr-white);
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .primary-navigation {
        position: fixed;
        z-index: 1000;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2rem;
        background: rgba(255, 255, 255, 0.98);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 9999;
    }

    .nav-link {
        font-size: 1.2rem;
        display: inline-block;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Pages: O nama (About Us)
   ========================================================================== */
.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, var(--fz-hero));
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-page-content {
    background-color: var(--clr-light);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-text-content {
    font-size: 1.1rem;
}

.about-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-main-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gallery-sub-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-sub-img:hover {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }
}