/* GY & Sons - Black and Gold Theme */

:root {
    --primary-black: #1a1a1a;
    --secondary-black: #2d2d2d;
    --dark-black: #0a0a0a;
    --primary-gold: #d4af37;
    --light-gold: #f4d03f;
    --dark-gold: #b8941e;
    --accent-gold: #ffd700;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--primary-black);
    color: #ffffff;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    z-index: 10;
    padding: 40px;
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-gold);
    width: 40px;
    border-radius: 6px;
}

/* Section backgrounds with images */
.section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(45, 45, 45, 0.85) 100%);
}

.section-content {
    position: relative;
    z-index: 10;
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-gold);
    border-radius: 50%;
    border: 4px solid var(--secondary-black);
    z-index: 10;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 50%, var(--dark-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 50%, 
        transparent 100%);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Card hover effects */
.sector-card, .project-card {
    transition: all 0.3s ease;
    background: var(--secondary-black);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.sector-card:hover, .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-gold);
}

/* Gold accent borders */
.gold-border {
    border: 2px solid var(--primary-gold);
}

.gold-border-top {
    border-top: 3px solid var(--primary-gold);
}

.gold-border-bottom {
    border-bottom: 3px solid var(--primary-gold);
}

/* Image overlay effects */
.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    transition: left 0.7s ease;
}

.img-overlay:hover::after {
    left: 100%;
}

/* Button effects */
.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-black);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gold:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gold:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

/* Loading spinner */
.spinner {
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-left-color: var(--primary-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-gold);
}

/* Section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    margin: 60px 0;
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    animation: countUp 0.8s ease-out;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Gold glow effect */
.gold-glow {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8),
                 0 0 20px rgba(212, 175, 55, 0.6),
                 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Image cards with gold borders */
.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

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

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

/* Responsive utilities */
@media (max-width: 768px) {
    .banner-slider {
        height: 400px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
        left: 5px;
    }
    
    .timeline-item::before {
        left: 14px;
    }
}

/* Background patterns */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-grid {
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Parallax effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Gold accent on focus */
input:focus, textarea:focus, button:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Luxurious hover effects */
.luxury-hover {
    transition: all 0.3s ease;
}

.luxury-hover:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold);
}

/* Advanced Animation Keyframes */
@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate3d {
    from {
        transform: rotate3d(0, 1, 0, 0deg);
    }
    to {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.6);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Float Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

/* Slide Animations */
.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Bounce In */
.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* Hover Grow Effect */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.1);
}

/* Hover Shine Effect */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hover-shine:hover::before {
    left: 100%;
}

/* Text Shadow Glow on Hover */
.text-glow-hover {
    transition: text-shadow 0.3s ease;
}

.text-glow-hover:hover {
    text-shadow: 0 0 20px var(--primary-gold), 0 0 40px var(--primary-gold);
}

/* Border Glow Animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: var(--primary-gold);
        box-shadow: 0 0 10px var(--primary-gold);
    }
    50% {
        border-color: var(--light-gold);
        box-shadow: 0 0 20px var(--light-gold);
    }
}

.border-glow-animate {
    animation: borderGlow 2s ease-in-out infinite;
}

/* Perspective Card */
.perspective-card {
    perspective: 1000px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.perspective-card:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 10px var(--primary-gold),
        0 0 20px var(--primary-gold),
        0 0 30px var(--primary-gold),
        0 0 40px var(--light-gold);
}

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background: linear-gradient(270deg, var(--primary-gold), var(--light-gold), var(--primary-gold));
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Transitions for All Interactive Elements */
a, button, .sector-card, .project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Skeleton Animation */
@keyframes skeleton {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, 
        rgba(212, 175, 55, 0.1) 25%, 
        rgba(212, 175, 55, 0.2) 50%, 
        rgba(212, 175, 55, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}
