/* Base Styles */
:root {
    --primary: #121212;
    --secondary: #1e1e1e;
    --accent: #ff6600;
    --text-light: #f5f5f5;
    --text-gray: #ababab;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header .section-divider {
    width: 6rem;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
}

.section-header p {
    max-width: 50rem;
    margin: 0 auto;
    opacity: 0.9;
}

.accent {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

#header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
}

.nav-link {
    margin-left: 1.5rem;
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon, 
.hamburger-icon:before, 
.hamburger-icon:after {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger-icon:before, 
.hamburger-icon:after {
    content: '';
    position: absolute;
}

.hamburger-icon:before {
    top: -8px;
}

.hamburger-icon:after {
    top: 8px;
}

.mobile-menu-btn.active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .hamburger-icon:before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger-icon:after {
    transform: rotate(-45deg);
    top: 0;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    margin: 0.75rem 0;
    margin-left: 0;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background-color: var(--primary);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-images {
    width: 100%;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.grid-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

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

.grid-item img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--secondary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.features {
    display: flex;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 1.5rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--accent);
}

.company-info {
    background-color: var(--primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.company-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-divider {
    width: 4rem;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 1rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-item i {
    color: var(--accent);
    font-size: 1.125rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: var(--primary);
}

.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--accent);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.product-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-grid.active {
    display: grid;
}

.product-card {
    background-color: var(--secondary);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.product-image {
    height: 14rem;
    overflow: hidden;
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-details {
    padding: 1.25rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 1rem;
}

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

.product-quality {
    color: var(--accent);
    font-weight: 500;
}

.product-quality.stone {
    color: var(--accent);
}

.inquire-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--accent);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.inquire-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent);
    z-index: -1;
    transition: width 0.3s ease;
}

.inquire-btn:hover {
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.inquire-btn:hover::before {
    width: 100%;
}

.inquire-btn.stone {
    color: var(--accent);
}

.products-cta {
    text-align: center;
    margin-top: 3rem;
}

.products-cta p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Export Process Section */
.export-process {
    padding: 4rem 0;
    background-color: var(--secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.process-step {
    background-color: var(--primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.process-step p {
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--primary);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-container {
    background-color: var(--secondary);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.contact-info-container {
    background-color: var(--secondary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

.contact-info-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--accent);
}

.contact-info-item h4 {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    opacity: 0.9;
}

.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.footer-text p {
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1010;
    display: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -10px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
}

.popup h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.popup p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form .form-group {
    margin-bottom: 0;
}

.popup-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.popup-form select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast.active {
    opacity: 1;
    visibility: visible;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-content {
    display: flex;
    align-items: flex-start;
}

.toast-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.toast-success {
    color: #10b981;
}

.toast-error {
    color: #ef4444;
}

.toast-message {
    flex-grow: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-gray);
    cursor: pointer;
    margin-left: 0.75rem;
}

/* Media Queries */
@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        flex-direction: row;
    }
    
    .hero-text {
        width: 50%;
        padding-right: 2rem;
        text-align: left;
        margin-bottom: 0;
    }
    
    .hero-images {
        width: 50%;
    }
    
    .form-row {
        flex-direction: row;
    }
    
    .form-row .form-group {
        width: 50%;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info-container {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        flex-direction: row;
    }
    
    .about-text {
        padding-right: 3rem;
    }
    
    .contact-content {
        flex-direction: row;
    }
    
    .contact-form-container, 
    .contact-info-container {
        width: 50%;
    }
    
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}