/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #c7956d;
    --accent-color: #e8b96e;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0;
}

.logo span {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

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

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.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 Section
   =================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(199, 149, 109, 0.8)),
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Styling
   =================================== */
section {
    padding: 6rem 0;
}

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

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Products Section
   =================================== */
.products {
    background: var(--white);
}

/* ===================================
   Mission & Vision Section
   =================================== */
.mission-vision {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(199, 149, 109, 0.95)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 0;
}

.mission-vision .section-subtitle,
.mission-vision .section-title,
.mission-vision .section-divider {
    color: var(--white);
    background: var(--accent-color);
}

.mission-vision-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission-card,
.vision-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
    transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.mv-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.mission-card h3,
.vision-card h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.mission-card p,
.vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.mv-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mv-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--white);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Core Values */
.core-values {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
}

.values-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

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

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

.value-item h4 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===================================
   Products Section
   =================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 300px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-logo p {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ===================================
   Product Details Modal
   =================================== */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-light);
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-image {
    border-radius: 15px 0 0 15px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    max-height: 90vh;
    position: sticky;
    top: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Custom scrollbar for modal */
.modal-details::-webkit-scrollbar {
    width: 8px;
}

.modal-details::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.modal-details::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.modal-details::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.modal-details h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-right: 2rem;
}

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

.modal-features,
.modal-materials {
    margin-bottom: 2rem;
}

.modal-features h3,
.modal-materials h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-materials p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions .btn {
    flex: 1;
    text-align: center;
    padding: 1rem 1.5rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        max-height: 80vh;
    }
    
    .modal-image {
        border-radius: 15px 15px 0 0;
        min-height: 250px;
        max-height: 300px;
        position: relative;
    }
    
    .modal-details {
        padding: 2rem;
        max-height: none;
    }
    
    .modal-details h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        max-height: 85vh;
    }
    
    /* Mission & Vision responsive */
    .mission-vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    /* Mission & Vision mobile */
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .values-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-badge {
        padding: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .modal-details h2 {
        font-size: 1.8rem;
    }
    
    .modal-details {
        padding: 1.5rem;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 2.5rem;
    }
    
    .modal-content {
        max-height: 90vh;
        margin: 1rem;
    }
    
    .modal-image {
        min-height: 200px;
        max-height: 250px;
    }
    
    .product-modal.active {
        padding: 0.5rem;
    }
    
    /* Mission & Vision mobile */
    .mission-card,
    .vision-card,
    .core-values {
        padding: 1.5rem;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
    }
    
    .mv-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
}


/* ===================================
   Services Section
   =================================== */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-description {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 3rem;
    font-size: 1.1rem;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.service-card:hover .service-image img,
.service-card:hover .service-image video {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ===================================
   Service Modal Styles
   =================================== */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 90vh;
    overflow: hidden;
}

.service-modal .modal-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

/* Custom scrollbar for service modal */
.service-modal .modal-details::-webkit-scrollbar {
    width: 8px;
}

.service-modal .modal-details::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.service-modal .modal-details::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.service-modal .modal-details::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.modal-media {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.modal-media img,
.modal-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    max-height: 500px;
}

.media-gallery {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
}

.media-main img,
.media-main video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.media-nav:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.media-prev {
    left: 10px;
}

.media-next {
    right: 10px;
}

.media-counter {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: -10px;
}

.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.media-thumb {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.media-thumb:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.media-thumb.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(199, 149, 109, 0.5);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumb .video-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-size: 2rem;
}

.video-thumb-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.video-thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    pointer-events: none;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-pricing,
.service-expectations,
.service-inclusions,
.service-leadtime {
    margin-bottom: 2rem;
}

.service-pricing h3,
.service-expectations h3,
.service-inclusions h3,
.service-leadtime h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-item,
.leadtime-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.pricing-item strong,
.leadtime-item strong {
    color: var(--primary-color);
}

.pricing-item span,
.leadtime-item span {
    color: var(--secondary-color);
    font-weight: 600;
}

.service-inclusions ul {
    list-style: none;
    padding: 0;
}

.service-inclusions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-inclusions li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-expectations p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .media-gallery {
        grid-template-columns: 1fr;
    }
    
    .service-modal .modal-body {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .service-modal .modal-content {
        max-height: 95vh;
        margin: 1rem;
    }
    
    .service-modal .modal-details {
        padding: 1.5rem;
        max-height: none;
    }
    
    .modal-media {
        max-height: 300px;
        padding: 10px;
    }
    
    .media-main {
        min-height: 250px;
    }
    
    .media-main img,
    .media-main video {
        max-height: 250px;
    }
}

/* ===================================
   Payment Information Section
   =================================== */
.payment-info {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.payment-icon.gcash {
    background: linear-gradient(135deg, #007DFF, #0062CC);
}

.payment-icon.bdo {
    background: linear-gradient(135deg, #003DA5, #002D7A);
    font-size: 1.2rem;
}

.payment-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.payment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.payment-qr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 3px dashed var(--secondary-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
}

.qr-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.qr-placeholder small {
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.4;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-code-image {
    width: 220px;
    height: 220px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    object-fit: contain;
    border: 3px solid var(--secondary-color);
    padding: 0.5rem;
    background: white;
    transition: var(--transition);
    cursor: pointer;
}

.qr-code-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(199, 149, 109, 0.4);
    border-color: var(--accent-color);
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.qr-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.qr-wrapper:hover .qr-hint {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.bdo-graphic {
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #003DA5;
}

.bank-icon-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bank-icon-large svg {
    color: #003DA5;
    filter: drop-shadow(0 4px 6px rgba(0, 61, 165, 0.2));
}

.bank-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003DA5;
    margin: 0;
    text-align: center;
    font-family: var(--font-secondary);
    letter-spacing: 1px;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.payment-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.payment-instructions h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
}

.payment-instructions li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.payment-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.note-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.note-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.note-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.note-content strong {
    color: var(--primary-color);
}

/* Responsive Payment Section */
@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .payment-details {
        grid-template-columns: 1fr;
    }
    
    .payment-qr {
        order: -1;
    }
    
    .qr-code-image {
        width: 180px;
        height: 180px;
    }
    
    .bank-icon-large svg {
        width: 80px;
        height: 80px;
    }
    
    .bank-text {
        font-size: 1.1rem;
    }
    
    .payment-note {
        flex-direction: column;
        text-align: center;
    }
    
    .note-icon {
        font-size: 3rem;
    }
}

/* ===================================
   Product Modal Styles
   =================================== */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-close:hover,
.modal-close:active {
    transform: rotate(90deg) scale(1.1);
    background: var(--secondary-color);
    color: white;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-nav:hover,
.modal-nav:active {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 90vh;
    overflow: hidden;
}

.modal-image {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-height: 500px;
    box-shadow: var(--shadow-md);
}

.modal-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-details h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-details > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-features,
.modal-materials {
    margin-bottom: 2rem;
}

.modal-features h3,
.modal-materials h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.modal-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.modal-materials p {
    color: var(--text-light);
    line-height: 1.8;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions .btn {
    flex: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        padding: 20px;
        max-height: 300px;
    }
    
    .modal-image img {
        max-height: 250px;
    }
    
    .modal-details {
        padding: 20px;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}
