/*
Theme Name: RKK Constructions
Theme URI: https://rkkconstructions.com/
Author: RKK Constructions
Description: Custom one-page WordPress theme for RKK Constructions - Building Dreams, Creating Reality.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rkk-constructions
*/

:root{
  --maroon: #7e1d26;
  --maroon-dark: #5c151c;
  --maroon-light: #a5333e;
  --cream: #faf6f2;
  --dark: #221012;
  --gray: #6b6467;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color:var(--dark);
  background:#fff;
  line-height:1.6;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
section{padding:90px 0;}
h1,h2,h3,h4{font-family:'Georgia', 'Times New Roman', serif;margin:0 0 16px;color:var(--dark);}
.section-title{text-align:center;max-width:680px;margin:0 auto 56px;}
.section-title h2{font-size:34px;color:var(--maroon);}
.section-title p{color:var(--gray);font-size:16px;}
.btn{
  display:inline-block;padding:14px 32px;background:var(--maroon);color:#fff;
  border-radius:4px;font-weight:600;letter-spacing:.3px;border:2px solid var(--maroon);
  transition:.25s;cursor:pointer;
}
.btn:hover{background:var(--maroon-dark);border-color:var(--maroon-dark);}
.btn-outline{background:transparent;color:var(--maroon);}
.btn-outline:hover{background:var(--maroon);color:#fff;}

/* Talk to an Expert CTA - brand maroon, used as a lead-form trigger */
.btn-expert{
  display:inline-block;padding:14px 30px;background:var(--maroon);color:#fff;
  border-radius:10px;font-weight:700;letter-spacing:.2px;border:2px solid var(--maroon);
  transition:.25s;cursor:pointer;font-size:15px;
}
.btn-expert:hover{background:var(--maroon-dark);border-color:var(--maroon-dark);}

/* Variant for use over dark/photo backgrounds (e.g. hero) where a maroon button would blend in */
.btn-expert-invert{
  background:#fff;color:var(--maroon);border:2px solid #fff;
}
.btn-expert-invert:hover{background:transparent;color:#fff;border-color:#fff;}

.header-cta{margin-left:20px;flex-shrink:0;}
.header-cta.btn-expert{padding:10px 22px;font-size:14px;}
@media(max-width:600px){
  .header-cta.btn-expert{padding:8px 14px;font-size:12.5px;border-radius:8px;}
}
.expert-banner{
  text-align:center;padding:50px 24px;background:var(--cream);
}
.expert-banner h3{color:var(--maroon);margin-bottom:10px;}
.expert-banner p{color:var(--gray);margin-bottom:22px;}

/* Header */
#site-header{
  position:fixed;top:0;left:0;right:0;z-index:999;
  background:rgba(255,255,255,.97);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;max-width:1180px;margin:0 auto;gap:20px;}
.site-logo img{height:56px;width:auto;flex-shrink:0;}
.nav-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;flex:1;}
#primary-menu{
  display:flex;flex-wrap:nowrap;list-style:none;margin:0;padding:0;gap:26px;
  justify-content:flex-end;
}
#primary-menu li{flex-shrink:0;}
#primary-menu li a{
  display:block;font-weight:600;font-size:14.5px;color:var(--dark);transition:.15s;
  white-space:nowrap;padding:6px 2px;
}
#primary-menu li a:hover{color:var(--maroon);}

/* Hero */
#hero{
  position:relative;min-height:92vh;display:flex;align-items:center;
  overflow:hidden;color:#fff;text-align:center;padding-top:80px;
}
.hero-slide{
  position:absolute;inset:0;background-position:center;background-size:cover;
  background-repeat:no-repeat;opacity:0;transition:opacity 1.2s ease-in-out;z-index:0;
}
.hero-slide.active{opacity:1;}
.hero-overlay{position:absolute;inset:0;background:rgba(34,16,18,.68);z-index:1;}
.hero-content{position:relative;z-index:2;max-width:820px;margin:0 auto;}
#hero h1{color:#fff;font-size:46px;line-height:1.2;}
#hero p{font-size:19px;color:#f1e6e6;margin-bottom:32px;}
.scroll-cue{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);color:#eee;font-size:13px;letter-spacing:1px;z-index:2;}

/* Services */
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;}
.service-card{
  border:1px solid #eee;border-radius:8px;padding:34px 28px;background:var(--cream);
  transition:.25s;
}
.service-card:hover{box-shadow:0 14px 30px rgba(126,29,38,.12);transform:translateY(-4px);}
.service-card h3{color:var(--maroon);font-size:21px;}
.service-card ul{padding-left:18px;margin:14px 0 0;color:var(--gray);font-size:14.5px;}
.service-card ul li{margin-bottom:6px;}
.cta-strip{background:var(--maroon);color:#fff;text-align:center;border-radius:10px;padding:56px 24px;margin-top:56px;}
.cta-strip h3{color:#fff;font-size:26px;}
.cta-strip .btn{background:#fff;color:var(--maroon);border-color:#fff;}
.cta-strip .btn:hover{background:transparent;color:#fff;}

/* Projects */
#projects{background:var(--cream);}
.projects-grid{
  display:flex;flex-wrap:nowrap;gap:24px;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:8px;
}
.project-card{
  background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.06);
  flex:0 0 260px;
}
.project-card img{height:200px;width:100%;object-fit:cover;}
.project-card .project-body{padding:20px;}
.project-card h3{font-size:18px;margin-bottom:6px;}
.project-card p{font-size:13.5px;}
.project-card .type{display:inline-block;font-size:12.5px;font-weight:700;color:var(--maroon);
  background:rgba(126,29,38,.08);padding:4px 12px;border-radius:20px;margin-top:10px;}

/* About */
#about .about-flex{display:flex;gap:56px;align-items:center;flex-wrap:wrap;}
#about .about-text{flex:1;min-width:300px;}
#about .about-img{flex:1;min-width:300px;}
#about .about-img img{border-radius:10px;}
.values-grid{margin-top:70px;display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px;}
.value-card{text-align:center;padding:20px 14px;flex:0 0 200px;}
.value-card .emoji{font-size:30px;margin-bottom:10px;}
.value-card h4{font-size:16.5px;color:var(--maroon);}
.value-card p{color:var(--gray);font-size:13px;}

/* Team */
#team{background:var(--maroon);color:#fff;}
#team .section-title h2{color:#fff;}
#team .section-title p{color:#e8cfd2;}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;max-width:700px;margin:0 auto 70px;}
.team-card{text-align:center;}
.avatar{
  width:96px;height:96px;border-radius:50%;background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;
  font-size:26px;font-weight:700;border:2px solid rgba(255,255,255,.4);
}
.team-card h4{color:#fff;margin-bottom:2px;}
.team-card .role{color:#e8cfd2;font-size:13px;letter-spacing:1px;text-transform:uppercase;}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;text-align:center;border-top:1px solid rgba(255,255,255,.2);padding-top:50px;}
.stat-num{font-size:42px;font-weight:700;color:#fff;}
.stat-label{font-size:12.5px;letter-spacing:1px;color:#e8cfd2;text-transform:uppercase;}

/* Testimonials */
.testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px;}
.testimonial-card{background:var(--cream);border-left:4px solid var(--maroon);padding:28px;border-radius:6px;}
.testimonial-card p{font-style:italic;color:var(--dark);}
.testimonial-card .author{margin-top:16px;font-weight:700;color:var(--maroon);font-size:14px;}

/* Map */
.map-wrap{border-radius:10px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.08);}
.map-wrap iframe{display:block;}

/* Contact */
#contact{background:var(--cream);}
.contact-flex{display:flex;gap:50px;flex-wrap:wrap;}
.contact-info{flex:1;min-width:260px;}
.contact-info .item{margin-bottom:26px;}
.contact-info .item h4{color:var(--maroon);font-size:15px;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px;}
.contact-info-dark{
  background:var(--maroon);color:#fff;border-radius:12px;padding:40px 34px;
}
.contact-info-dark h3{color:#fff;font-size:24px;}
.contact-info-dark .contact-lede{color:#e8cfd2;font-size:14.5px;margin-bottom:22px;}
.contact-info-dark .item h4{color:#f3d8db;}
.contact-info-dark .item p{color:#fff;}
.whatsapp-icon-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:50%;background:#25D366;margin-bottom:30px;
  transition:.2s;
}
.whatsapp-icon-link:hover{transform:scale(1.08);}
.contact-form{flex:1.3;min-width:300px;background:#fff;padding:36px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.06);}
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%;padding:13px 14px;margin-bottom:16px;border:1px solid #ddd;border-radius:6px;
  font-family:inherit;font-size:14.5px;
}
.contact-form textarea{min-height:120px;resize:vertical;}
.contact-form button{width:100%;}

.trust-card{border:2px dashed #cc8a90;background:#fff7f7;}
.trust-card h3{color:var(--maroon);}

/* Package comparison table */
.pkg-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;max-width:700px;margin:0 auto 30px;}
.pkg-summary-card{background:#fff;border-radius:8px;padding:24px 16px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.06);}
.pkg-summary-card h4{color:var(--dark);font-size:16px;margin-bottom:8px;}
.pkg-summary-rate{font-size:26px;font-weight:700;color:var(--maroon);margin:0;}
.pkg-summary-rate span{font-size:13px;color:var(--gray);font-weight:400;}
.pkg-highlight-card{border:2px solid var(--maroon);}

.pkg-details{max-width:900px;margin:0 auto;}
.pkg-details summary{
  cursor:pointer;list-style:none;text-align:center;font-weight:700;color:#fff;
  background:var(--maroon);padding:14px 24px;border-radius:6px;font-size:15px;
  transition:.2s;
}
.pkg-details summary::-webkit-details-marker{display:none;}
.pkg-details summary::after{content:' \25BC';font-size:11px;}
.pkg-details[open] summary::after{content:' \25B2';}
.pkg-details summary:hover{background:var(--maroon-dark);}
.pkg-details[open] summary{margin-bottom:24px;}

.pkg-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:36px;}
.pkg-table{width:100%;border-collapse:collapse;background:#fff;min-width:760px;border-radius:8px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.06);}
.pkg-table th, .pkg-table td{padding:12px 16px;text-align:left;font-size:13.5px;border-bottom:1px solid #eee;}
.pkg-table th{background:var(--maroon);color:#fff;font-family:'Georgia',serif;font-size:15px;}
.pkg-table td:first-child{font-weight:600;color:var(--dark);white-space:nowrap;}
.pkg-rate{display:block;font-size:13px;font-weight:400;opacity:.9;margin-top:2px;}
.pkg-table td.pkg-highlight, .pkg-table th.pkg-highlight{background:rgba(126,29,38,.06);}
.pkg-table th.pkg-highlight{background:var(--maroon-dark);}
.pkg-table tbody tr:hover{background:#faf5f5;}
.pkg-notes{max-width:820px;margin:0 auto;background:#fff;border-left:4px solid var(--maroon);padding:26px 30px;border-radius:6px;}
.pkg-notes h4{color:var(--maroon);margin-bottom:12px;}
.pkg-notes ol{padding-left:20px;color:var(--gray);font-size:13.5px;line-height:1.8;margin:0;}

/* Step flow diagram (How It Works) */
.step-flow{
  display:flex;align-items:flex-start;justify-content:center;
  flex-wrap:nowrap;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:8px;
}
.step-node{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  width:135px;padding:0 6px;flex-shrink:0;
}
.step-circle{
  width:48px;height:48px;border-radius:50%;background:var(--maroon);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;
  margin-bottom:12px;box-shadow:0 4px 10px rgba(126,29,38,.25);flex-shrink:0;
}
.step-node h4{font-size:14.5px;color:var(--dark);margin-bottom:6px;}
.step-node p{font-size:11.5px;color:var(--gray);line-height:1.5;}
.step-connector{
  width:36px;height:2px;background:repeating-linear-gradient(90deg,var(--maroon) 0 6px,transparent 6px 12px);
  margin-top:23px;flex-shrink:0;
}
@media(max-width:900px){
  .step-flow{flex-direction:column;align-items:center;flex-wrap:wrap;overflow-x:visible;}
  .step-node{width:100%;max-width:320px;}
  .step-connector{width:2px;height:32px;margin:0;background:repeating-linear-gradient(180deg,var(--maroon) 0 6px,transparent 6px 12px);}
}

/* Gallery */
.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));
  gap:8px;max-width:820px;margin:0 auto;
}
.gallery-item{position:relative;border-radius:5px;overflow:hidden;cursor:pointer;aspect-ratio:1/1;box-shadow:0 2px 6px rgba(0,0,0,.12);}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.25s;}
.gallery-item::after{
  content:'\2921';color:#fff;font-size:20px;position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(34,16,18,0);opacity:0;transition:.2s;
}
.gallery-item:hover::after{background:rgba(34,16,18,.45);opacity:1;}
.gallery-item:hover img{transform:scale(1.1);}
.rkk-lightbox{
  display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:9998;
  align-items:center;justify-content:center;cursor:zoom-out;
}
.rkk-lightbox.open{display:flex;}
.rkk-lightbox img{max-width:90%;max-height:85vh;border-radius:6px;}
.rkk-lightbox-close{position:absolute;top:24px;right:32px;color:#fff;font-size:38px;cursor:pointer;}

/* Gallery end */
.faq-list{max-width:760px;margin:0 auto;}
.faq-item{
  border-bottom:1px solid #e6e0e1;padding:18px 0;
}
.faq-item summary{
  font-weight:600;font-size:16.5px;color:var(--dark);cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';font-size:20px;color:var(--maroon);}
.faq-item[open] summary::after{content:'\2212';}
.faq-item p{color:var(--gray);margin-top:12px;font-size:14.5px;}

/* WhatsApp floating button */
.whatsapp-float{
  position:fixed;bottom:26px;right:26px;z-index:1000;
  width:60px;height:60px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.28);transition:.2s;
}
.whatsapp-float:hover{transform:scale(1.08);box-shadow:0 8px 22px rgba(0,0,0,.35);}
@media(max-width:600px){
  .whatsapp-float{width:52px;height:52px;bottom:18px;right:18px;}
}

/* Footer */
#site-footer{background:var(--dark);color:#cfc5c6;text-align:center;padding:34px 24px;font-size:13.5px;}
#site-footer a{color:#e8cfd2;}

/* Guarantees */
.guarantees-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;}
.guarantees-head h2{font-size:34px;color:var(--dark);margin:0;}
.carousel-arrows{display:flex;gap:12px;flex-shrink:0;}
.carousel-arrows button{
  width:46px;height:46px;border-radius:50%;border:none;cursor:pointer;
  background:var(--maroon);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;
  transition:.2s;
}
.carousel-arrows button:hover{background:var(--maroon-dark);color:#fff;}
.guarantee-track{
  display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:8px;-webkit-overflow-scrolling:touch;
  justify-content:center;
}
.guarantee-track::-webkit-scrollbar{height:6px;}
.guarantee-track::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px;}
.guarantee-card{
  scroll-snap-align:start;flex:0 0 255px;border-radius:12px;padding:27px 22px 30px;
  color:#fff;min-height:210px;display:flex;flex-direction:column;align-items:center;text-align:center;
}
.guarantee-card .g-icon{margin-bottom:20px;width:48px;height:48px;}
.guarantee-card h3{color:#fff;font-size:20px;line-height:1.2;margin:0 0 12px;}
.guarantee-card p{color:rgba(255,255,255,.82);font-size:11px;margin:0;}
.g-highlight{background:var(--maroon);padding:2px 5px;border-radius:3px;}
.gc-navy{background:linear-gradient(160deg,var(--maroon-dark),#2a0d10);}
.gc-charcoal{background:linear-gradient(160deg,#221012,#3a1418);}
.gc-blue{background:linear-gradient(160deg,var(--maroon),var(--maroon-light));}
@media(max-width:700px){
  .guarantee-card{flex-basis:210px;}
  .guarantees-head h2{font-size:26px;}
}
