/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #d4af37;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Hero Video Sections */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center center;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    /* Mobil performans optimizasyonu */
    will-change: transform;
    transform-origin: center center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--secondary-color);
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8),
                 0 0 30px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    background: #e6c547;
}

/* Introduction Section */
.intro-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.intro-text {
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Value Section */
.value-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: var(--secondary-color);
}

.value-section .section-title,
.value-section .section-subtitle {
    color: var(--secondary-color);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.value-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.testimonial {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    text-align: center;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--accent-color);
    font-weight: 600;
}

/* Specifications Section */
.specs-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.specs-container {
    margin-top: 3rem;
}

.specs-table-wrapper {
    margin-bottom: 4rem;
}

.specs-table-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-color);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.specs-table thead {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.specs-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.specs-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
}

.specs-table tbody tr:hover {
    background: #f9f9f9;
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.thickness-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.thickness-section > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.thickness-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.thickness-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.thickness-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.thickness-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.thickness-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.thickness-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff9e6;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Catalog Section */
.catalog-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.catalog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--secondary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.contact-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.whatsapp-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #25D366;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Shipping Card */
.shipping-card {
    background: rgba(37, 211, 102, 0.1) !important;
    border: 2px solid rgba(37, 211, 102, 0.3) !important;
}

.shipping-info {
    color: #25D366 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem;
}

.shipping-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Shipping Banner */
.shipping-banner {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(37, 211, 102, 0.1) 100%);
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.shipping-icon {
    font-size: 2rem;
}

.shipping-text {
    color: #ffffff;
    font-size: 1.2rem;
}

.shipping-text strong {
    color: #25D366;
}

/* Order Form Section */
.order-form-section {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.order-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.form-hint {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: #4a4a4a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #555555;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Select dropdown arrow */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

/* Select options styling */
.form-group select option {
    background: #4a4a4a !important;
    color: #ffffff !important;
    padding: 1rem !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}

.form-group select option:hover {
    background: #555555 !important;
    color: #ffffff !important;
}

.form-group select option:checked,
.form-group select option:focus {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

/* Ensure select text is visible */
.form-group select {
    color: #ffffff !important;
}

.form-group select:invalid {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    background: #4a4a4a;
    color: #ffffff;
}

.form-group textarea:focus {
    background: #555555;
    color: #ffffff;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
    background: #4a4a4a;
    color: #ffffff;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group input[type="number"]:focus {
    background: #555555;
    color: #ffffff;
}

.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="text"] {
    background: #4a4a4a;
    color: #ffffff;
}

.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="text"]:focus {
    background: #555555;
    color: #ffffff;
}

/* Custom thickness field initial state */
#customThickness {
    transition: opacity 0.3s ease;
}

#customThickness:not(:focus):not(:valid) {
    opacity: 0.6;
}

.form-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.email-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.email-btn:hover {
    background: #e6c547;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background: #20BA5A;
}

/* Footer */
.footer {
    background: #0f0f0f;
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 0;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    animation: pulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .features-grid,
    .value-grid,
    .thickness-options,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .specs-table {
        font-size: 0.9rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.8rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .hero-video-section {
        min-height: 100vh;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
    }

    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
        /* Mobil cihazlarda video performansı için */
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        /* Mobil performans optimizasyonu */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }

    /* Landscape mod için */
    @media (orientation: landscape) and (max-height: 500px) {
        .hero-video-section {
            height: 100vh;
            min-height: 100vh;
        }
    }

    /* Portrait mod için */
    @media (orientation: portrait) {
        .hero-video-section {
            height: 100vh;
            height: 100dvh;
        }
    }

    .order-form-section {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        grid-template-columns: 1fr;
    }

    .shipping-banner {
        flex-direction: column;
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .shipping-icon {
        font-size: 1.5rem;
    }

    .shipping-text {
        font-size: 1rem;
    }

    .shipping-info {
        font-size: 1rem !important;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .floating-whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero-video-section {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }

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

    .feature-card,
    .value-item,
    .contact-card {
        padding: 1.5rem;
    }
}

/* Image Modal (for catalog) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

