/* ========================================
   PAGE TEMPLATES - RESPONSIVE STYLES
   Global responsive CSS for all page templates
   ======================================== */

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

/* ========================================
   PAGE HEADER STYLES
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #1a472a 0%, #0d2816 100%);
    color: #fff;
    padding: 60px 0 80px;
}

.page-header .breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover {
    color: #c9a961;
}

.page-header .breadcrumb span {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

.page-header .breadcrumb .current {
    color: #c9a961;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.page-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 80px 0;
}

.section--gray {
    background: #f8f9fa;
}

.section--dark {
    background: linear-gradient(135deg, #1a472a 0%, #0d2816 100%);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .badge {
    display: inline-block;
    background: #f0f7f2;
    color: #1a472a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section--dark .section-header .badge {
    background: rgba(255,255,255,0.1);
    color: #c9a961;
}

.section-header h2 {
    font-size: 36px;
    color: #1a472a;
    margin: 0 0 15px;
}

.section--dark .section-header h2 {
    color: #fff;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-header p {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   CARD STYLES
   ======================================== */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a472a 0%, #0d2816 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #fff;
}

.card-icon--gold {
    background: linear-gradient(135deg, #c9a961 0%, #b8963f 100%);
}

.card h3 {
    font-size: 24px;
    color: #1a472a;
    margin: 0 0 15px;
}

.card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   VALUE/FEATURE CARDS
   ======================================== */
.value-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #c9a961;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.value-card .icon-wrap {
    width: 80px;
    height: 80px;
    background: #f0f7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1a472a;
}

.value-card h3 {
    font-size: 18px;
    color: #1a472a;
    margin: 0 0 10px;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   STAT BOXES
   ======================================== */
.stat-box {
    text-align: center;
    padding: 30px 15px;
}

.stat-box .number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #c9a961;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-box .label {
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   CERTIFICATE/BADGE CARDS
   ======================================== */
.cert-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.cert-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.cert-card h4 {
    font-size: 16px;
    color: #1a472a;
    margin: 0 0 8px;
}

.cert-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #1a472a 0%, #0d2816 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    font-size: 36px;
    margin: 0 0 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin: 0 0 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #c9a961;
    color: #1a472a;
}

.btn-primary:hover {
    background: #d4b872;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

.btn-outline {
    background: transparent;
    color: #1a472a;
    border: 2px solid #1a472a;
}

.btn-outline:hover {
    background: #1a472a;
    color: #fff;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #1a472a;
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   TWO COLUMN LAYOUT
   ======================================== */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col-layout.gap-40 {
    gap: 40px;
}

/* ========================================
   CONTENT BOX WITH IMAGE
   ======================================== */
.content-image-box {
    position: relative;
}

.content-image-placeholder {
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f5eb 100%);
    border-radius: 20px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #c9a961;
    color: #1a472a;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
}

.floating-badge .number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.floating-badge .text {
    font-size: 14px;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .two-col-layout {
        gap: 40px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE LANDSCAPE
   ======================================== */
@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        padding: 40px 0 50px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header .subtitle {
        font-size: 15px;
    }
    
    /* Section */
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Cards */
    .card {
        padding: 25px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    /* Value Cards */
    .value-card {
        padding: 20px;
    }
    
    .value-card .icon-wrap {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    /* Stats */
    .stat-box .number {
        font-size: 36px;
    }
    
    .stat-box .label {
        font-size: 12px;
    }
    
    /* CTA */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Content Image Box */
    .content-image-placeholder {
        min-height: 250px;
        padding: 30px;
    }
    
    .floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
    
    .floating-badge .number {
        font-size: 32px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE PORTRAIT
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .grid-6 {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-box {
        padding: 20px 10px;
    }
    
    .stat-box .number {
        font-size: 28px;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .cert-card img {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   ABOUT PAGE SPECIFIC
   ======================================== */
.about-intro-section .content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro-section .content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTACT PAGE SPECIFIC
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.contact-info-card h3 {
    font-size: 20px;
    color: #1a472a;
    margin: 0 0 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 45px;
    height: 45px;
    background: #f0f7f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a472a;
    flex-shrink: 0;
}

.contact-info-item .text {
    flex: 1;
}

.contact-info-item .text strong {
    display: block;
    font-size: 14px;
    color: #1a472a;
    margin-bottom: 3px;
}

.contact-info-item .text span,
.contact-info-item .text a {
    font-size: 15px;
    color: #555;
    text-decoration: none;
}

.contact-info-item .text a:hover {
    color: #c9a961;
}

.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 25px;
    }
}

/* ========================================
   FAQ PAGE SPECIFIC
   ======================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question svg {
    transition: transform 0.3s;
    color: #1a472a;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 25px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.faq-sidebar {
    position: sticky;
    top: 100px;
}

.faq-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.faq-sidebar-card h4 {
    font-size: 16px;
    color: #1a472a;
    margin: 0 0 15px;
}

.faq-sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-sidebar-card li {
    margin-bottom: 10px;
}

.faq-sidebar-card a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.faq-sidebar-card a:hover {
    color: #c9a961;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .faq-sidebar {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
}

/* ========================================
   QUOTE PAGE SPECIFIC
   ======================================== */
.quote-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.quote-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.quote-sidebar {
    position: sticky;
    top: 100px;
}

.quote-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .quote-form-card {
        padding: 25px;
    }
}

/* ========================================
   SERVICES PAGE SPECIFIC  
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f5eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1a472a;
}

.service-card h3 {
    font-size: 20px;
    color: #1a472a;
    margin: 0 0 12px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

.service-card .link {
    color: #c9a961;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px;
    }
}

/* ========================================
   PRODUCTS PAGE SPECIFIC
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-category-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.product-category-card .image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8f9fa;
}

.product-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-category-card:hover img {
    transform: scale(1.05);
}

.product-category-card .content {
    padding: 25px;
}

.product-category-card h3 {
    font-size: 18px;
    color: #1a472a;
    margin: 0 0 10px;
}

.product-category-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
