/* 
   Yamaç Group Premium CSS Style System
   Theme: Petrol/Teal & Peach (Luxury Contrast Mode)
*/

:root {
    --bg-dark-obsidian: #00222e; /* Dark Teal/Petrol Background */
    --bg-dark-card: rgba(0, 24, 34, 0.7); /* Deep dark-teal card bg */
    --border-color: rgba(255, 181, 126, 0.06); /* Peach-tinted border */
    --border-hover: rgba(227, 30, 36, 0.3); /* Crimson border on hover */
    --accent-peach: #ffb57e; /* The warm peach/gold text color */
    --accent-crimson: #e31e24; /* Red action accent */
    --accent-crimson-glow: rgba(227, 30, 36, 0.15);
    --text-white: #ffffff;
    --text-gray-light: #e6f0f3; /* Light cream/teal-tinted text */
    --text-gray-muted: #8fa4ab; /* Muted teal-tinted gray text */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark-obsidian);
    font-family: var(--font-body);
    color: var(--text-gray-light);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-obsidian);
}
::-webkit-scrollbar-thumb {
    background: #001822;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-peach);
}

/* Selection style */
::selection {
    background-color: var(--accent-peach);
    color: var(--bg-dark-obsidian);
}

/* Ambient Background Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    mix-blend-mode: screen;
}
.glow-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 181, 126, 0.06) 0%, transparent 70%);
}
.glow-2 {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
}
.glow-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 34, 46, 0.3) 0%, transparent 70%);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 34, 46, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}
.logo-wrapper:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 181, 126, 0.4);
    transform: translateY(-1px);
}
.logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}
.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 181, 126, 0.15);
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}
.phone-link:hover {
    color: var(--accent-peach);
    border-color: var(--accent-peach);
    background-color: rgba(255, 181, 126, 0.05);
    box-shadow: 0 0 15px rgba(255, 181, 126, 0.1);
    transform: translateY(-2px);
}
.phone-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    color: var(--accent-peach);
}

/* Main Content */
.main {
    flex: 1;
    padding-bottom: 80px;
}

/* About Us (Biz Kimiz?) Section */
.about-section {
    padding: 60px 0 20px 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
.about-card {
    position: relative;
    border-radius: 24px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.about-card:hover {
    border-color: rgba(255, 181, 126, 0.2);
    box-shadow: 0 25px 60px -10px rgba(255, 181, 126, 0.05), 
                inset 0 0 30px rgba(255, 181, 126, 0.01);
}
.about-inner {
    padding: 48px;
    z-index: 2;
    transform: translateZ(30px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.about-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(255, 181, 126, 0.08);
    border: 1px solid rgba(255, 181, 126, 0.2);
    color: var(--accent-peach);
}
.about-title-text {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--accent-peach);
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-peach) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about-desc {
    font-size: 16px;
    color: var(--text-gray-light);
    line-height: 1.8;
    font-weight: 300;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
}
.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-icon {
    font-size: 26px;
    padding: 12px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    transition: var(--transition-smooth);
}
.about-card:hover .feature-icon {
    background-color: rgba(255, 181, 126, 0.04);
    border-color: rgba(255, 181, 126, 0.15);
}
.feature-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-peach);
}
.feature-content p {
    font-size: 14px;
    color: var(--text-gray-muted);
    line-height: 1.6;
    font-weight: 300;
}
.about-card:hover .feature-content p {
    color: var(--text-gray-light);
}

/* Hero Section */
.hero-section {
    padding: 50px 0 60px 0;
    text-align: center;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-peach) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}
.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-gray-muted);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
}

/* Portal/Brands Grid */
.portal-section {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.2s;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

/* Brand Card styling */
.brand-card {
    grid-column: span 2;
    position: relative;
    border-radius: 20px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.card-inner {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    z-index: 2;
    transform: translateZ(30px);
}

/* Centered layout for last two items on desktop (3 + 2 grid) */
@media (min-width: 1025px) {
    .brand-grid .brand-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .brand-grid .brand-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.card-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 181, 126, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.brand-card:hover .card-border-glow {
    opacity: 1;
}

.brand-card:hover {
    border-color: rgba(255, 181, 126, 0.2);
    box-shadow: 0 20px 50px -10px rgba(255, 181, 126, 0.05), 
                inset 0 0 24px rgba(255, 181, 126, 0.01);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(255, 181, 126, 0.05);
    border: 1px solid rgba(255, 181, 126, 0.15);
    color: var(--accent-peach);
    transition: var(--transition-smooth);
}

.brand-card:hover .brand-badge {
    background-color: rgba(255, 181, 126, 0.1);
    border-color: rgba(255, 181, 126, 0.3);
    color: var(--accent-peach);
    box-shadow: 0 0 10px rgba(255, 181, 126, 0.1);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent-peach);
    transition: var(--transition-smooth);
}

.brand-card:hover .brand-name {
    color: #ffffff;
    transform: translateZ(10px);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-hook {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.brand-card:hover .card-hook {
    color: var(--accent-peach);
}

.card-desc {
    font-size: 14px;
    color: var(--text-gray-muted);
    line-height: 1.6;
    font-weight: 300;
    transition: var(--transition-smooth);
}

.brand-card:hover .card-desc {
    color: var(--text-gray-light);
}

.card-footer {
    margin-top: 30px;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
    transition: var(--transition-smooth);
}

.arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}
.arrow svg {
    width: 16px;
    height: 16px;
}

.brand-card:hover .cta-link {
    background-color: var(--accent-crimson);
    border-color: var(--accent-crimson);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
    transform: translateY(-2px);
}

.brand-card:hover .arrow {
    transform: translateX(5px);
}

/* Footer Section */
.footer {
    width: 100%;
    padding: 50px 0;
    background: linear-gradient(135deg, #00121a 0%, #001e28 50%, #200408 100%);
    border-top: 1px solid rgba(255, 181, 126, 0.1);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-peach), transparent);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}
.copyright {
    font-size: 13px;
    color: var(--text-gray-muted);
    font-weight: 300;
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-link {
    color: var(--text-gray-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-smooth);
}
.footer-link:hover {
    color: var(--accent-peach);
    text-shadow: 0 0 8px rgba(255, 181, 126, 0.4);
}
.separator {
    color: rgba(255, 255, 255, 0.05);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Media Queries (Responsive) */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .brand-card {
        grid-column: span 2;
    }
    .brand-grid .brand-card:nth-child(1) {
        grid-column: span 4;
        min-height: auto;
    }
    .brand-grid .brand-card:nth-child(4),
    .brand-grid .brand-card:nth-child(5) {
        grid-column: span 2;
    }
    .hero-title {
        font-size: 40px;
    }
}

/* Small Tablets & Mobile Devices */
@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    .logo-wrapper {
        padding: 6px 12px;
        border-radius: 6px;
    }
    .logo {
        height: 32px;
    }
    .phone-link {
        padding: 8px 14px;
        font-size: 13px;
    }
    .about-section {
        padding: 40px 0 10px 0;
    }
    .about-inner {
        padding: 24px;
        gap: 20px;
    }
    .about-title-text {
        font-size: 28px;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 20px;
    }
    .about-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
        border-radius: 12px;
    }
    .hero-section {
        padding: 40px 0 30px 0;
    }
    .hero-title {
        font-size: 30px;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .brand-card {
        grid-column: span 1 !important;
        min-height: auto;
    }
    .card-inner {
        padding: 24px;
    }
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    .separator {
        display: none;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
